FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update compiler (major) by renovate[bot] · Pull Request #3134 · phpstan/phpstan-src · GitHub

Update compiler (major) - #3134

Open
renovate[bot] wants to merge 1 commit into
2.2.xfrom
renovate/major-compiler
Open

Update compiler (major)#3134
renovate[bot] wants to merge 1 commit into
2.2.xfrom
renovate/major-compiler

Conversation

renovate Bot commented Jun 10, 2024
edited
Loading

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
cweagans/composer-patches ^1.7 → ^2.0
phpunit/phpunit (source) ^9.5.1 → ^13.0.0
symfony/finder (source) ^5.4.43 → ^8.0.0
symfony/process (source) ^5.4.43 → ^8.0.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

cweagans/composer-patches (cweagans/composer-patches)

v2.0.0

Compare Source

What's Changed

New Contributors

Full Changelog: cweagans/composer-patches@1.7.3...2.0.0

sebastianbergmann/phpunit (phpunit/phpunit)

v13.3.2

Compare Source

v13.3.1: PHPUnit 13.3.1

Compare Source

Changed
  • Invoking a static hook method such as setUpBeforeClass() no longer triggers a deprecation warning on PHP 8.6

Learn how to install or update PHPUnit 13.3 in the documentation.

Keep up to date with PHPUnit:

v13.3.0: PHPUnit 13.3.0

Compare Source

Added
  • #​3794: Filesystem-based code coverage targeting
  • #​5758: Make export of objects customizable
  • #​6546: Both property hooks can now be configured on test doubles of virtual hooked properties, even when the doubled property only declares one of them
  • #​6586: Custom code coverage driver support
  • #​6591: Repeated test execution using --repeat CLI option and #[Repeat] attribute
  • #​6701: Allow expectOutputString() and expectOutputRegex() to be combined and repeated
  • #​6710: Deprecation Filters
  • #​6722: Allow #[CoversNothing] on methods
  • #​6742: Retry failing tests up to N times using --retry CLI option #[Retry] attribute
  • #​6827: Customize which deprecation trigger types fail the test run
  • #​6830: Warn when failOnAllIssues="true" is combined with an explicitly disabled fine-grained failOn* setting
  • #​6832: Allow doubling properties that do not declare property hooks
  • #​6853: Optionally warn when PHP is not configured for development
  • phpunit/php-code-coverage #​1140: Class-oriented HTML report
  • phpunit/php-code-coverage #​1141: Improve visualization of branch coverage and path coverage in the HTML report
  • phpunit/php-code-coverage #​1153: Filter HTML code coverage report by test size
  • --record-test-run-history and --do-not-record-test-run-history CLI options as well as the recordTestRunHistory attribute for the XML configuration file to control whether the status and duration of each test are recorded for use by --order-by defects and --order-by duration-*
  • --without-class-view CLI option and classView attribute for the XML configuration file to disable the class-oriented view in the HTML code coverage report
  • --without-file-view CLI option and fileView attribute for the XML configuration file to disable the file-oriented view in the HTML code coverage report
  • {PWD} is now substituted with the directory of the PHPT test file in --ENV-- and --INI-- sections of PHPT test files
  • {TMP} (system directory for temporary files) and {ENV:name} (value of environment variable name) are now substituted in --INI-- sections of PHPT test files
  • A PHPT test whose --INI-- section references an environment variable that is not set is now skipped
  • A --SKIPIF-- section of a PHPT test file that prints xfail <reason> now marks the test as expected to fail, as if the PHPT test file had an --XFAIL-- section with that reason
Changed
  • phpunit/php-code-coverage #​1231: Identify dead code using static analysis
  • phpunit/php-code-coverage #​1259: Degrade gracefully when a source file cannot be parsed
  • The test runner no longer crashes when an attribute cannot be instantiated
  • Improved TestDox HTML report
  • The feature formerly named "test result cache" is now named "test run history"; when a cache directory is configured, the file it is stored in is now named test-run-history instead of test-results
  • The test runner warns now when ordering by defects or duration is configured but recording of the test run history is disabled
  • TestCase no longer captures error_log() output for tests that do not use expectErrorLog(), avoiding the cost of setting up error log redirection for every test
  • error_log() output from tests without an expectation is no longer echoed (date-stripped) to PHPUnit's output; it goes to the configured error log again, as it did before capture was introduced
  • A test running in process isolation that calls error_log() without expectErrorLog() now produces stderr output in the child process, which the test runner reports as a test error
  • A PHPT test that is expected to fail (--XFAIL-- section or xfail output from the --SKIPIF-- section) but passes is now considered risky; this usually means the expected-failure marker is stale and should be removed
  • A PHPT test whose --SKIPIF-- section produces output that is not recognized is now considered risky; this usually means the skip check itself is broken. The keywords understood by PHP's own test runner that have no PHPUnit counterpart (info, warn, xleak, flaky, and nocache) are tolerated and do not make the test risky
  • PHPT tests now run with additional INI defaults for deterministic output (date.timezone=UTC, display_startup_errors=1, fatal_error_backtraces=Off, ignore_repeated_errors=0, precision=14,
    serialize_precision=-1), consistent with PHP's own test runner; all of them can be overridden per test using the --INI-- section
Deprecated
  • --cache-result CLI option, use --record-test-run-history instead
  • --do-not-cache-result CLI option, use --do-not-record-test-run-history instead
  • cacheResult XML configuration attribute, use recordTestRunHistory instead
  • PHPUnit\TextUI\Configuration\Configuration::cacheResult(), use PHPUnit\TextUI\Configuration\Configuration::recordTestRunHistory() instead
  • PHPUnit\TextUI\Configuration\Configuration::testResultCacheFile(), use PHPUnit\TextUI\Configuration\Configuration::testRunHistoryFile() instead
Fixed
  • Doubling a class with a property that declares both a final and a non-final hook no longer triggers a fatal error
  • expectErrorLog() now only considers error_log() output written after it was called; previously, the expectation was also satisfied by output written before expectErrorLog() was called
  • PHPT test files with an unknown section, a duplicated section, more than one of the --FILE--, --FILEEOF--, and --FILE_EXTERNAL-- sections, or more than one expectation section (--EXPECT--, --EXPECTF--, --EXPECTREGEX--, and their _EXTERNAL variants) are now rejected; previously, misspelled sections were silently ignored and duplicated sections silently overwrote each other
  • The regular expression from an --EXPECTREGEX-- section must now match the PHPT test's entire output, and . now matches newline characters, consistent with PHP's own test runner; previously, a match on a substring of the output was sufficient for the test to pass
  • The reason printed by a --SKIPIF-- section of a PHPT test is no longer mangled when it follows the skip <reason> convention used by PHP's own test suite; previously, the first two characters of the reason were stripped unless the skip: <reason> or skip - <reason> convention was used
  • The test runner no longer aborts with an uncaught PHPUnit\Runner\Phpt\InvalidPhptFileException when a PHPT test file has an empty --FILE-- or --FILEEOF-- section or a --FILE_EXTERNAL-- section that references an empty file; such a file is now rejected while it is parsed and reported as an errored test
  • PHPUnit\Runner\Phpt\InvalidPhptFileException now has a message that explains why the PHPT test file was rejected

Learn how to install or update PHPUnit 13.3 in the documentation.

Keep up to date with PHPUnit:

v13.2.6: PHPUnit 13.2.6

Compare Source

Fixed
  • #​6861: Hook methods run twice when a template method is marked with its corresponding attribute
  • Regression that stopped test methods from being sorted by source code location

Learn how to install or update PHPUnit 13.2 in the documentation.

Keep up to date with PHPUnit:

v13.2.5: PHPUnit 13.2.5

Compare Source

Changed
  • Messages for tests that are skipped because of an unsatisfied RequiresPhp, RequiresPhpunit, or RequiresPhpExtension version requirement now include the version that is actually being used
  • Warning messages about incomplete version requirements as well as version requirements without a version comparison operator, and the error message for invalid version requirements, now include the full version requirement and explain what is expected
Fixed
  • #​6825: Forwarding to previous error handler can result in infinite recursion
  • #​6831: PHPUnit's error handler does not respect @ error suppression and forwards suppressed warnings to previous error handler
  • #​6833: assertArrayHasKey() does not accept ArrayAccess implementations with a specific value type when test code is analysed with PHPStan at level 9
  • #​6854: Deprecation triggered in first-party code is wrongly classified as indirect when the first-party code is called from third-party code
  • Test classes were not sorted relative to each other when tests were ordered by duration

Learn how to install or update PHPUnit 13.2 in the documentation.

Keep up to date with PHPUnit:

v13.2.4: PHPUnit 13.2.4

Compare Source

Fixed
  • #​6817: Issue is reported even when previously registered error handler turns the error into an exception
  • #​6818: Issue is reported when custom error handler checks error_reporting() output dynamically

Learn how to install or update PHPUnit 13.2 in the documentation.

Keep up to date with PHPUnit:

v13.2.3

Compare Source

v13.2.2: PHPUnit 13.2.2

Compare Source

Fixed
  • #​6768: Negative priorities for hook methods are rejected by static analysis
  • #​6778: Deprecation triggered outside of tests cannot be ignored

Learn how to install or update PHPUnit 13.2 in the documentation.

Keep up to date with PHPUnit:

v13.2.1: PHPUnit 13.2.1

Compare Source

Fixed
  • #​6741: Test is not run when --filter matches the name of a data set but not the name of the test method
  • #​6743: Improve error message for invalid version constraint in attribute
  • #​6744: Environment variable attributes reject empty-string values since PHPUnit 13.2.0

Learn how to install or update PHPUnit 13.2 in the documentation.

Keep up to date with PHPUnit:

v13.2.0: PHPUnit 13.2.0

Compare Source

Added
  • #​3387: Specify a list of tests to run
  • #​4201: Handle interrupts and display current test results
  • #​4501: Option to mark test as risky when it does not contribute to code coverage
  • #​5757: Add assertions for ignoring whitespace differences in strings
  • #​5810: Do not dump arrays and objects in failure messages of IsTrue, IsFalse, IsNull, IsFinite, IsInfinite, and IsNan constraints
  • #​5838: Inherit #[RunTestsInSeparateProcesses] from parent test classes
  • #​5922: assertContainsEquals() should use sebastian/comparator for element comparison
  • #​6000: Report PHPT test as risky when --SKIPIF-- does not have standard-output side effect
  • #​6075: Support test execution order sorted by descending duration
  • #​6346: Emit warning when conflicting CLI options are used
  • #​6534: Make $_dataName available to #[TestDoxFormatter] callbacks
  • #​6559: Improved API for exception message expectations
  • #​6565: Optional $skipWhenEmpty parameter for #[DataProvider] and #[DataProviderExternal]
  • #​6566: Allow --stop-on-defect, --stop-on-error, etc. to accept an optional threshold
  • #​6567: Make diff context lines configurable
  • #​6574: Improve willReturnMap() with constraint support and strict matching
  • #​6575: --list-test-ids CLI option and enhance --filter CLI option to support test ID syntax
  • #​6577: --run-test-id <test-id> CLI option that accepts a single test ID for exact matching
  • #​6579: Properly handle issues triggered outside of tests
  • #​6597: Compact output (activated through --compact CLI option and PHPUNIT_COMPACT_OUTPUT=1 environment variable)
  • #​6598: --disable-coverage-targeting CLI option
  • #​6602: Separate configuration for branch coverage from path coverage
  • #​6606: Support for partially ordered parameter sets in mock object expectations
  • #​6611: Add CPU time to telemetry
  • #​6681: Comment-aware variants of XML comparison assertions
  • The executionOrder attribute in the XML configuration file now accepts defects combined with any main order, as well as three-way combinations of depends/no-depends, defects, and a main order (for example, depends,defects,duration-ascending)
  • --validate-configuration CLI option to validate an XML configuration file for PHPUnit
  • Report TestDox information in Open Test Reporting XML
  • Report per-test and per-test-suite resource usage (time, memory usage, peak memory usage) in Open Test Reporting XML
  • Report number of assertions performed for each test in Open Test Reporting XML
  • Report structured comparison failure details (expected, actual, diff) in Open Test Reporting XML
  • Report random order seed in Open Test Reporting XML when test execution order is randomised
Changed
  • #​5873: Chain previously registered error handler instead of silently disabling PHPUnit's error handling
  • #​6535: Use sebastian/file-filter in SourceFilter::includes() for issue trigger identification
  • #​6581: Allow #[IgnoreDeprecations] to be repeated
  • #​6609: Skip data providers whose method cannot match --filter
  • #​6685: Generate failure messages for inverse assertions by authoring negations, not by rewriting strings
  • Only errors and failures are now considered for "defect first" test reordering (tests that triggered deprecations, notices, or warnings as well as incomplete, risky, and skipped tests were previous also considered)
  • A warning is now emitted when closures are compared for equality using the IsEqual, IsEqualCanonicalizing, IsEqualIgnoringCase, IsEqualWithDelta, and TraversableContainsEqual constraints or the assertEquals(), assertEqualsCanonicalizing(), assertEqualsIgnoringCase(), assertEqualsWithDelta(), and assertContainsEquals() assertions
Deprecated
  • #​6075: --order-by duration CLI option, use --order-by duration-ascending instead
  • #​6075: --order-by size CLI option, use --order-by size-ascending instead
  • #​6075: executionOrder="duration" XML configuration attribute value, use executionOrder="duration-ascending" instead
  • #​6075: executionOrder="size" XML configuration attribute value, use executionOrder="size-ascending" instead
  • #​6560: Soft-deprecate expectExceptionMessage(), use expectExceptionMessageIsOrContains() instead
Fixed
  • #​5845: Error handlers registered before PHPUnit (e.g. via auto_prepend_file) cause false "risky test" warnings
  • #​5851: Output buffer manipulation in tests causes incorrect capture, hangs, and silent failures
  • #​6582: TestSuiteSorter::cmpSize() does not handle TestSuite objects for TestCase classes

Learn how to install or update PHPUnit 13.2 in the documentation.

Keep up to date with PHPUnit:

v13.1.14: PHPUnit 13.1.14

Compare Source

Fixed
  • #​6683: assertNotEquals() failure message says "is equal to" instead of "is not equal to" when comparing arrays or objects
  • #​6700: expectOutputString() and expectOutputRegex() silently replace themselves and each other

Learn how to install or update PHPUnit 13.1 in the documentation.

Keep up to date with PHPUnit:

v13.1.13: PHPUnit 13.1.13

Compare Source

Fixed
  • #​6681: XML assertions such as assertXmlStringEqualsXmlString() regressed into treating comments as significant

Learn how to install or update PHPUnit 13.1 in the documentation.

Keep up to date with P

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

renovate Bot commented Jun 10, 2024
edited
Loading

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: compiler/composer.lock
Command failed: composer update phpunit/phpunit:13.3.2 symfony/finder:8.1.5 symfony/process:8.1.5 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires symfony/finder ^8.0.0, found symfony/finder[v8.0.0-BETA1, ..., 8.2.x-dev] but these were not loaded, likely because it conflicts with another require.
  Problem 2
    - ondrejmirtes/simple-downgrader is locked to version 2.2.7 and an update of this package was not requested.
    - ondrejmirtes/simple-downgrader 2.2.7 requires symfony/finder ^5.4.45 -> found symfony/finder[v5.4.45, 5.4.x-dev] but it conflicts with your root composer.json require (^8.0.0).
  Problem 3
    - Root composer.json requires symfony/process ^8.0.0 -> satisfiable by symfony/process[v8.1.5].
    - symfony/process v8.1.5 requires php >=8.4.1 -> your php version (8.2.99; overridden via config.platform, actual: 8.2.33) does not satisfy that requirement.
  Problem 4
    - Root composer.json requires phpunit/phpunit ^13.0.0 -> satisfiable by phpunit/phpunit[13.3.2].
    - phpunit/phpunit 13.3.2 requires php >=8.4.1 -> your php version (8.2.99; overridden via config.platform, actual: 8.2.33) does not satisfy that requirement.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

renovate Bot changed the title Update compiler (major) chore(deps): update compiler (major) Aug 12, 2024
renovate Bot changed the title chore(deps): update compiler (major) Update compiler (major) Aug 12, 2024
renovate Bot changed the title Update compiler (major) chore(deps): update compiler (major) Aug 12, 2024
renovate Bot changed the title chore(deps): update compiler (major) Update compiler (major) Aug 13, 2024
renovate Bot changed the title Update compiler (major) chore(deps): update compiler (major) Aug 13, 2024
renovate Bot changed the title chore(deps): update compiler (major) Update compiler (major) Aug 15, 2024
renovate Bot force-pushed the renovate/major-compiler branch from bf1fa25 to e6de424 Compare August 26, 2024 11:07
renovate Bot changed the base branch from 1.11.x to 1.12.x August 26, 2024 11:08
renovate Bot changed the title Update compiler (major) chore(deps): update compiler (major) Oct 6, 2024
renovate Bot changed the title chore(deps): update compiler (major) Update compiler (major) Oct 7, 2024
renovate Bot changed the title Update compiler (major) chore(deps): update compiler (major) Oct 7, 2024
renovate Bot changed the title chore(deps): update compiler (major) Update compiler (major) Oct 8, 2024
renovate Bot changed the title Update compiler (major) chore(deps): update compiler (major) Oct 9, 2024
renovate Bot changed the title chore(deps): update compiler (major) Update compiler (major) Oct 14, 2024
renovate Bot changed the title Update compiler (major) chore(deps): update compiler (major) Oct 14, 2024
renovate Bot changed the title chore(deps): update compiler (major) Update compiler (major) Oct 26, 2024
renovate Bot changed the title Update compiler (major) chore(deps): update compiler (major) Nov 6, 2024
renovate Bot changed the title chore(deps): update compiler (major) Update compiler (major) Nov 6, 2024
renovate Bot changed the title Update compiler (major) chore(deps): update compiler (major) Nov 7, 2024
renovate Bot changed the title chore(deps): update compiler (major) Update compiler (major) Nov 8, 2024
renovate Bot changed the title Update compiler (major) chore(deps): update compiler (major) Nov 8, 2024
renovate Bot changed the title chore(deps): update compiler (major) Update compiler (major) Nov 9, 2024
renovate Bot force-pushed the renovate/major-compiler branch from e6de424 to 209816c Compare November 11, 2024 07:46
renovate Bot changed the title Update compiler (major) chore(deps): update compiler (major) Nov 11, 2024
renovate Bot changed the title chore(deps): update compiler (major) Update compiler (major) Nov 11, 2024
renovate Bot changed the title Update compiler (major) chore(deps): update compiler (major) Nov 15, 2024
renovate Bot changed the title chore(deps): update compiler (major) Update compiler (major) Nov 17, 2024
renovate Bot changed the title Update compiler (major) chore(deps): update compiler (major) Nov 19, 2024
renovate Bot changed the title chore(deps): update compiler (major) Update compiler (major) Nov 19, 2024
renovate Bot changed the title Update compiler (major) fix(deps): update compiler (major) Feb 27, 2025
renovate Bot changed the title fix(deps): update compiler (major) Update compiler (major) Feb 27, 2025
renovate Bot changed the title Update compiler (major) fix(deps): update compiler (major) Mar 19, 2025
renovate Bot changed the title fix(deps): update compiler (major) Update compiler (major) Mar 21, 2025
renovate Bot changed the title Update compiler (major) fix(deps): update compiler (major) Mar 21, 2025
renovate Bot changed the title fix(deps): update compiler (major) Update compiler (major) Mar 23, 2025
renovate Bot force-pushed the renovate/major-compiler branch from 578ef22 to d3e0925 Compare April 5, 2025 09:29
renovate Bot changed the base branch from 1.12.x to 2.1.x April 5, 2025 09:29
renovate Bot force-pushed the renovate/major-compiler branch 2 times, most recently from f3491cd to 308135e Compare May 26, 2025 16:27
renovate Bot changed the title Update compiler (major) fix(deps): update compiler (major) Jun 7, 2025
renovate Bot changed the title fix(deps): update compiler (major) Update compiler (major) Jun 11, 2025
renovate Bot changed the title Update compiler (major) fix(deps): update compiler (major) Jul 17, 2025
renovate Bot changed the title fix(deps): update compiler (major) Update compiler (major) Jul 17, 2025
renovate Bot changed the title Update compiler (major) fix(deps): update compiler (major) Jul 17, 2025
renovate Bot changed the title fix(deps): update compiler (major) Update compiler (major) Jul 17, 2025
renovate Bot changed the title Update compiler (major) Update compiler to v7 (major) Jul 17, 2025
renovate Bot changed the title Update compiler to v7 (major) Update compiler (major) Jul 17, 2025
renovate Bot changed the title Update compiler (major) fix(deps): update compiler (major) Jul 21, 2025
renovate Bot force-pushed the renovate/major-compiler branch 2 times, most recently from 0e9b0db to f364c51 Compare July 21, 2025 13:47
renovate Bot changed the title fix(deps): update compiler (major) Update compiler (major) Jul 27, 2025
renovate Bot force-pushed the renovate/major-compiler branch 2 times, most recently from 1a6428a to 8afb5d0 Compare July 31, 2025 18:06
renovate Bot changed the title Update compiler (major) fix(deps): update compiler (major) Aug 6, 2025
renovate Bot force-pushed the renovate/major-compiler branch from 8afb5d0 to 1fb5133 Compare August 9, 2025 09:14
Comment thread .github/workflows/e2e-tests.yml Fixed
Comment thread .github/workflows/e2e-tests.yml Fixed
Comment thread .github/workflows/phar.yml Fixed
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: 2.1.x
ref: 2.2.x

github-advanced-security AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

zizmor found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL