You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,7 @@ function curl_copy_handle(#[LanguageLevelTypeAware(['8.0' => 'CurlHandle'], defa
34
34
* The easiest way to run the full test suite locally is the bundled script (requires Docker — it installs dependencies, regenerates the stubs and reflection caches, and runs every test suite):
35
35
* macOS / Linux: `./runTests.sh`
36
36
* Windows: `runTests.bat`
37
+
* While iterating on stubs for one PHP version, add `--php-version` (e.g. `./runTests.sh --php-version 5.6`) to validate against that version only — checks that do not apply to it are not generated at all. CI still runs every version.
37
38
* To run suites manually instead, see [How to run tests](README.md#how-to-run-tests) in the README.
38
39
* If a stub legitimately cannot match reflection (for example a runtime-dependent constant value, or an entity available only on certain PHP versions), register it in `tests/Framework/Validator/KnownProblems/DefaultKnownProblemsProvider.php`.
0 commit comments