Commit Graph

57 Commits

Author SHA1 Message Date
Kamil Kokot
c0d7a8391c Fix CI shell safety, widen Symfony constraints, add Behat 4 step attributes
- lock-symfony-version.sh: replace cat<<<$(jq) with tmp+mv to avoid
  file truncation; add .key as $k capture in with_entries per jq safety rules
- lock-behat-version.sh: new script mirroring lock-symfony-version.sh,
  fixes the Behat 4 lock step which was wrongly targeting require-dev
  instead of require
- CI: actions/checkout@v3 → @v4; composer validate --strict; use
  lock-behat-version.sh in the Behat 4 step
- composer.json: widen symfony/config, symfony/browser-kit,
  symfony/http-client to ^7.4 || ^8.0 so Symfony 8 installs without CI overrides
- MinkContext: add #[\Behat\Step\Given/When/Then] attributes alongside
  existing docblocks so Behat 4 (which ignores docblock annotations)
  can discover all step definitions

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-06-12 17:03:13 +02:00
Kamil Kokot
2d50420038 Remove symfony/deprecation-contracts direct dep (transitive, breaks version lock)
The lock-symfony-version.sh script pins all symfony/* packages to the
matrix version, but symfony/deprecation-contracts uses its own versioning
(3.x) rather than following Symfony's major/minor scheme. Removing it as
a direct dependency is safe — it is always pulled in transitively via
symfony/config and others.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-06-12 14:10:24 +02:00
Kamil Kokot
9037907f2a Modernize PHP and Symfony version requirements; add Symfony 8 CI support
- Drop PHP <8.3 and Symfony <7.4 (both EOL), require PHP ^8.3 and symfony/config ^7.4
- Require behat ^3.31 (first version with PHP 8 attribute and PHP config support)
- Upgrade phpspec to ^8.0 (supports PHP 8.5)
- Add symfony/browser-kit and symfony/http-client to dev deps; switch from deprecated goutte driver to browserkit_http
- Update CI matrix: PHP 8.3/8.4/8.5 × Symfony 7.4 + PHP 8.4/8.5 × Symfony 8.0/8.1
- Add Symfony 8+ CI step: override behat to 4.x-dev as 3.31.0
- Restrict push trigger to master branch only (no duplicate runs on PRs)
- Add behat.dist.php for behat 4.x compatibility (PHP config format)
- Update behat.yml.dist to use FQCN extension name (works in both behat 3.x and 4.x)
- Add lock-symfony-version.sh script for pinning Symfony in CI

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-06-12 13:58:59 +02:00
Matthias Pigulla
f5bd8e3d1f Mark Goutte, Selenium, Sahi and Zombie driver/support as abandoned (#39)
* Mark Goutte, Selenium, Sahi and Zombie driver/support as abandoned

This marks the four drivers as abandoned where the driver implementations are no longer maintained.

* Correctly indent notes so they don't break the enumeration list

* Indent a few more notes that are part of a numerated list
2026-01-14 18:30:58 +01:00
Christophe Coevoet
a9653d777b Fix the branch alias for master 2024-10-03 18:17:42 +02:00
Christophe Coevoet
344b081300 Merge pull request #26 from uuf6429/feature/implement-webdriver-classic-extension
Implement WebdriverClassicDriver factory
2024-10-03 18:16:45 +02:00
Christian Sciberras
6134879ff6 Use branch alias version 2024-08-06 20:12:17 +02:00
Christian Sciberras
b91dc9cf82 Add back homepage link 2024-04-08 21:00:54 +02:00
Christian Sciberras
dc357af2e6 Normalize composer.json 2024-04-06 14:23:17 +02:00
Christian Sciberras
18a3f770db Implement WebdriverClassicDriver factory 2024-04-06 14:14:22 +02:00
Yozhef
2715006c39 Update composer.json 2024-01-11 11:10:17 +02:00
Łukasz Chruściel
89cc19afdf [WIP] Test against Behat dev-master 2023-12-09 18:57:25 +01:00
Yozhef
7e0cfa971b Update composer.json 2023-12-01 10:18:29 +02:00
Swen van Zanten
c0aa3e776e add goutte/client 4 compatibility 2022-04-11 15:02:41 +02:00
javer
8d15a03b72 Drop unsupported PHP and Symfony versions and add PHP 8.1 and SF 6.0 2021-12-08 21:27:09 +02:00
Kamil Kokot
2b77bf6cd1 Add tests for Symfony 3.4, 5.1 and 5.2 2021-01-21 10:11:02 +01:00
Kamil Kokot
3c40979f38 feature #3 Support Symfony 3.4 (LTS) (johanwilfer)
This PR was merged into the 2.1.x-dev branch.

Discussion
----------

behatch/contexts relies on your fork (thanks for fixing PHP compability!), but in one project we still use Symfony 3.4 (LTS). This adds compatibility with that. 

Would be great if a minor version could be released with this so I can remove my fork that now publish a version we use with a repository override in composer.json
```
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/johanwilfer/MinkExtension"
        }
    ],
```

Commits
-------

4613f91427 Update composer.json
a0559e1455 Update composer.json
f4c2fcf345 Update composer.json
2021-01-21 10:07:29 +01:00
Vincent Chalamon
9239ca7475 Support PHP 8.0 2020-12-15 14:12:18 +01:00
Johan Wilfer
f4c2fcf345 Update composer.json 2020-03-03 19:03:47 +01:00
Johan Wilfer
a0559e1455 Update composer.json 2020-03-03 18:58:11 +01:00
Johan Wilfer
4613f91427 Update composer.json 2020-03-03 18:46:15 +01:00
Kamil Kokot
9efd51ad66 Upgrade this package to 2020's standards 2020-01-15 18:13:09 +01:00
Kévin Dunglas
63b15740e7 Symfony 4 compatiblity. Test with PHP 7+. 2017-11-24 17:32:33 +01:00
Sullivan SENECHAL
c380282914 Allow Symfony 3.0 2015-12-01 14:37:56 +01:00
Christophe Coevoet
06e2b99d92 Update the branch alias
The master branch contains new features on top of 2.0
2015-09-29 19:42:41 +02:00
Christophe Coevoet
6955fa8674 Improve the Travis setup
- use the container-based infrastructure
- persist the composer download cache between builds
- test against dev versions of dependencies
2015-09-29 19:23:20 +02:00
Christophe Coevoet
896a2c52c0 Fixed the dev requirement 2014-10-08 10:09:42 +02:00
Christophe Coevoet
14d3596895 Renamed the extension class to follow the Behat shortcut convention 2014-05-08 13:45:26 +02:00
Christophe Coevoet
84f9bf1941 Added the branch alias for master 2014-04-27 16:32:44 +02:00
Christophe Coevoet
1003fb7f79 Updated the composer.json to deal with use stable packages 2014-04-26 19:49:40 +02:00
Christophe Coevoet
8b5f2a3fbd Updated the composer requirements 2014-03-12 03:09:59 +01:00
Christophe Coevoet
8f5332371a Updated the code for latest changes done in Behat 2014-01-05 00:48:09 +01:00
Christophe Coevoet
3059bc525c Added specs for the classes 2014-01-04 17:14:35 +01:00
Robert Schönthal
84ec704026 fixed behat constraint 2014-01-02 16:50:47 +01:00
Klein Florian
2ebc88634b make it compatible with behat v3 2013-10-29 14:04:29 +01:00
Christophe Coevoet
265aee68b3 Fixed the configuration for Selenium2 capabilities
Some capabilities need to have a dash in their name to match the name
expected by Selenium2 (which uses a mix of camel cased and dashed names).
This fix makes the MinkExtension incompatible with Symfony 2.0 and 2.1 but
they already reached their end of maintenance anyway.
Closes #91
2013-09-23 18:44:37 +02:00
Ludovic Fleury
12af25ac75 Update to Behat 2.5.0 2013-08-15 12:54:43 +02:00
Christophe Coevoet
b5717a7b58 Updated the branch alias of the master branch 2013-05-28 23:02:25 +02:00
Christophe Coevoet
5fe26c8d13 Fixed the Mink requirement to allow Mink 1.5 2013-04-15 00:44:12 +03:00
everzet
55cc0b8b3f Remove goutte-driver dependencies from direct deps 2013-03-08 11:28:57 +01:00
everzet
b9315b7af9 Clean dependencies constraints 2013-03-08 11:27:57 +01:00
everzet
70d8ae4f97 Update dev dependencies 2013-02-20 00:49:16 +01:00
Konstantin Kudryashov
e60b812305 Update composer.json 2013-02-20 00:23:29 +01:00
Konstantin Kudryashov
de6bd8dba0 Update composer.json 2013-01-27 16:32:41 +01:00
Gregory Perry
3a8faf14e6 Allow composer to install dev version of Goutte driver. 2012-08-20 13:40:40 -07:00
everzet
2fc55fdd35 fixed dependencies constraints 2012-07-05 10:39:31 +02:00
everzet
8956263631 updated constraints 2012-05-30 01:03:14 +02:00
everzet
03823d4815 updated minimum mink constraint 2012-05-25 14:34:59 +02:00
everzet
e66dae35cd updated extension for latest Mink beta 2012-05-20 21:27:46 +02:00
everzet
cb472c27a1 bumped required version number 2012-05-18 17:25:34 +02:00