Commit Graph

399 Commits

Author SHA1 Message Date
Kamil Kokot
590bd4b228 Restrict push trigger to master to avoid duplicate CI runs
Previously every branch push triggered both the push and pull_request
workflows when a PR was open. Limiting push to master means branch
pushes only trigger via pull_request.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-06-12 12:31:43 +02:00
Kamil Kokot
4f6a7b0d0f Merge pull request #226 from FriendsOfBehat/drop/unsupported-php-and-symfony
Drop support for PHP <8.3 and Symfony <7.4
2026-06-12 12:31:17 +02:00
Kamil Kokot
56052d8d65 Drop support for PHP <8.3 and Symfony <7.4
PHP 8.1 reached EOL in November 2024, PHP 8.2 active support ended
December 2024. Symfony 6.4 LTS support continues but aligning with
the Symfony 7.4 LTS-only stance simplifies the matrix and removes
the separate include entry.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-06-12 12:28:15 +02:00
Kamil Kokot
04d3f12293 Merge pull request #225 from FriendsOfBehat/fix/ci-symfony-7.4
Fix CI: update matrix to Symfony 7.4, fix Psalm MissingTemplateParam
2026-06-12 12:19:16 +02:00
Kamil Kokot
4737051992 Fix CI: update matrix to Symfony 7.4, fix Psalm template param
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-06-12 12:10:04 +02:00
Łukasz Chruściel
3ed86d7792 Merge pull request #217 from loic425/fix/lazy-object-with-sf-7.3
Fix Mink lazy object with SF7.3 and PHP 8.4
2025-06-03 15:32:20 +02:00
Loïc Frémont
08c7d24d03 Bump package versions and fix errors 2025-06-03 14:18:53 +02:00
Loïc Frémont
b1b9b34606 Add deprecated message 2025-06-03 08:49:50 +02:00
Loïc Frémont
7fd0fb77eb Fix Mink lazy object with SF7.3 and PHP 8.4 2025-06-02 17:47:18 +02:00
Yozhef
814dc0e253 Merge pull request #213 from wuchen90/fix-bootstrap
fix: allow to use parameter resolution in configuration for bootstrap key
2025-05-27 12:31:49 +03:00
Christophe Coevoet
dfb1c9c96c Merge pull request #212 from soyuka/patch-1
Http Kernel DI Extension is deprecated
2024-07-03 17:49:43 +02:00
wuchen90
65cd3478b2 fix: allow to use parameter resolution in configuration for bootstrap key
In PhpStorm, I've got an issue with path resolution for the bootstrap file.
I don't know why the path in which Behat runs is always the folder `features`.
So Behat always fails trying to look for `/project/root/path/features/config/bootstrap.php`.

With this fix, bootstrap file will be resolved based on the base path.
Plus, people will be allowed to use the parameter `%paths.base%` to define a custom bootstrap file path.
E.g.:

```yaml
default:
  extensions:
    FriendsOfBehat\SymfonyExtension:
      bootstrap: '%paths.base%/custom/bootstrap.php'
```
2024-06-20 17:19:24 +02:00
Antoine Bluchet
ef60e3dd1c Http Kernel DI Extension is deprecated 2024-05-31 10:43:01 +02:00
Yozhef
67408cac3d Merge pull request #207 from lchrusciel/upgrade-improvement
[README] Mention library change in upgrade file
2024-01-11 16:59:58 +02:00
Yozhef
92653f5c8a Merge pull request #205 from FriendsOfBehat/updateSymfonyVersion
Add Symfony support version 7.0
2024-01-11 16:57:03 +02:00
Yozhef
a6d2a9168c Update build.yml 2024-01-11 16:55:38 +02:00
Yozhef
2650776041 Merge branch 'master' into updateSymfonyVersion 2024-01-11 12:13:34 +02:00
Yozhef
7ff97d303a Update composer.json 2024-01-11 12:12:27 +02:00
Yozhef
6a207017c8 Update build.yml 2024-01-11 11:45:01 +02:00
Yozhef
2bbefc0074 Update DOCUMENTATION.md 2024-01-11 11:44:43 +02:00
Yozhef
5ec94941c7 Update README.md 2024-01-11 11:44:18 +02:00
Yozhef
a622acfc89 Update build.yml 2024-01-11 11:41:42 +02:00
Yozhef
4314b8b428 Update build.yml 2024-01-11 11:39:52 +02:00
Yozhef
a485ae65b3 Update composer.json 2024-01-11 11:38:19 +02:00
Yozhef
ccee4b7fc5 Update composer.json 2024-01-11 11:21:27 +02:00
Łukasz Chruściel
6376400ebc [README] Mention library change in upgrade file 2023-12-09 19:10:45 +01:00
Łukasz Chruściel
957df89b21 Merge pull request #195 from mpdude/official-mink-browserkit
Switch back to the original `behat/mink-browserkit-driver`
2023-12-09 13:17:26 +01:00
Łukasz Chruściel
13a43d1a85 [Maintenance] Migrate to official Mink distribution 2023-12-09 13:02:33 +01:00
Yozhef Hisem
04da9ad9da update symfony version 2023-12-01 15:40:28 +02:00
Yozhef Hisem
49bf3e582c update symfony version 2023-12-01 15:38:07 +02:00
Yozhef
c25f3f374f Merge pull request #201 from yguedidi/add-more-precise-types
Add more precise types
2023-09-12 12:36:17 +03:00
Yassine Guedidi
66bde5f4c5 Add more precise types 2023-05-02 18:42:48 +02:00
Kamil Kokot
432d21b7e9 Merge pull request #200 from alexislefebvre/patch-1
README.md: update supported versions of Symfony
2023-04-03 13:46:37 +01:00
Alexis Lefebvre
cf613b26b8 README.md: update supported versions of Symfony 2023-04-03 12:03:34 +02:00
Yozhef
43dd1ee4dc Merge pull request #193 from mpdude/symfony-61-test-matrix
Amend the test matrix for Symfony 6.1
2022-11-30 11:17:16 +02:00
Yozhef
3dc924d9b7 Merge pull request #194 from mpdude/do-not-rerun-tests
Do not re-run tests when a PR description is changed
2022-11-30 11:16:43 +02:00
Yozhef
9cbf9b63b6 Merge pull request #197 from relthyg/docs
Remove typing error in documentation
2022-11-30 11:16:17 +02:00
Yozhef
4bbe058d37 Merge pull request #196 from mpdude/update-psalm
Update to Psalm 4.30
2022-11-30 11:13:55 +02:00
Yozhef
e4808760b9 Merge pull request #198 from mpdude/mpdude-patch-1
Note one more lifecycle limitation in the documentation file
2022-11-30 11:12:22 +02:00
Matthias Pigulla
14871b193e Note one more lifecycle limitation in the documentation file 2022-11-28 17:53:04 +01:00
Martin Güthler
777064c230 Remove typing error in documentation 2022-11-28 10:15:55 +01:00
Matthias Pigulla
50797b0f4a Update to Psalm 4.30 2022-11-28 08:12:44 +00:00
Matthias Pigulla
9c7de27625 Switch back to the original behat/mink-browserkit-driver 2022-11-28 07:50:21 +00:00
Matthias Pigulla
d2a791c464 Do not re-run tests when a PR description is changed 2022-11-28 07:21:06 +00:00
Matthias Pigulla
27e7ba8bac Amend the test matrix for Symfony 6.1 2022-11-28 07:15:17 +00:00
Yozhef
764fa7861d Merge pull request #190 from mpdude/reset-driver-kernel-and-browser
Fix `fob_symfony.driver_kernel` state leaking between requests and scenarios
2022-11-27 17:36:56 +02:00
Matthias Pigulla
933333991b Add remarks regarding accessing the latest instances of services in the driver's container after a reboot 2022-11-27 10:10:12 +00:00
Matthias Pigulla
f1971fde57 * Reset also fob_symfony.driver_kernel between scenarios
* Make sure reset() for the Mink driver implementation creates new KernelBrowser instances, to achieve consistent reboots of the `fob_symfony.driver_kernel` when making more than one request within a single scenario
2022-11-26 09:26:34 +00:00
Yozhef
8a0c40c9bc Merge pull request #192 from mpdude/improve-docs
Explain the concept and consequences of having two kernels/containers a bit more
2022-11-26 09:28:33 +02:00
Yozhef
3645bd68ad Merge pull request #191 from mpdude/fix-build
Fix the build pipeline in GitHub Actions
2022-11-26 09:28:13 +02:00