Skip to content

[DevDependency] Bump phpstan/phpstan from 2.1.22 to 2.1.29 in /site#12093

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/site/phpstan/phpstan-2.1.29
Closed

[DevDependency] Bump phpstan/phpstan from 2.1.22 to 2.1.29 in /site#12093
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/site/phpstan/phpstan-2.1.29

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Oct 1, 2025

Bumps phpstan/phpstan from 2.1.22 to 2.1.29.

Release notes

Sourced from phpstan/phpstan's releases.

2.1.29

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

Internals 🔍

2.1.28

Improvements 🔧

... (truncated)

Commits
  • d618573 PHPStan 2.1.29
  • 34e54be Update errors identifiers
  • 1611a88 Updated PHPStan to commit 1611a884837df994eb91bc6fdf23c661c4ce361f
  • e93ad8d Rename branch
  • 9adbff9 Updated PHPStan to commit 9adbff9b289197cff7817f12b7477f32728d55c7
  • 64c1547 Custom Composer source for cloning phpstan/phpstan
  • 17f859d Re-enable PHPCS
  • 4664230 Update baselines
  • fad1c40 Remove tests about polyfills
  • 217fca4 Re-enable more
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Copy link
Copy Markdown
Contributor

@lavalleeale lavalleeale left a comment

Choose a reason for hiding this comment

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

Only one change was necessary for this new version of phpstan, and it has been made

@github-project-automation github-project-automation bot moved this from Seeking Reviewer to Awaiting Maintainer Review in Submitty Development Oct 14, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Oct 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 21.68%. Comparing base (9733059) to head (b20e77a).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #12093   +/-   ##
=========================================
  Coverage     21.68%   21.68%           
  Complexity     9598     9598           
=========================================
  Files           268      268           
  Lines         36620    36620           
  Branches        475      475           
=========================================
  Hits           7941     7941           
  Misses        28208    28208           
  Partials        471      471           
Flag Coverage Δ
autograder 21.39% <ø> (ø)
js 2.07% <ø> (ø)
migrator 100.00% <ø> (ø)
php 20.69% <ø> (ø)
python_submitty_utils 80.08% <ø> (ø)
submitty_daemon_jobs 90.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@williamjallen
Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Oct 18, 2025

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@williamjallen
Copy link
Copy Markdown
Member

@lavalleeale We typically don't make code changes in dependency updates unless necessary. Instead, it's better to add the new errors to the baseline and optionally create a separate PR to fix them.

@williamjallen
Copy link
Copy Markdown
Member

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/composer/site/phpstan/phpstan-2.1.29 branch from b20e77a to 7dbe07a Compare October 18, 2025 21:36
@dependabot dependabot bot force-pushed the dependabot/composer/site/phpstan/phpstan-2.1.29 branch from 7dbe07a to 4c2f55a Compare October 24, 2025 02:17
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 2.1.22 to 2.1.29.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/2.1.x/CHANGELOG.md)
- [Commits](phpstan/phpstan@2.1.22...2.1.29)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-version: 2.1.29
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/composer/site/phpstan/phpstan-2.1.29 branch from 4c2f55a to 01fe044 Compare October 24, 2025 02:17
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Nov 1, 2025

Superseded by #12166.

@dependabot dependabot bot closed this Nov 1, 2025
@dependabot dependabot bot deleted the dependabot/composer/site/phpstan/phpstan-2.1.29 branch November 1, 2025 18:01
bmcutler pushed a commit that referenced this pull request Dec 15, 2025
### Why is this Change Important & Necessary?
<!-- Include any GitHub issue that is fixed/closed using "Fixes
#<number>" or "Closes #<number>" syntax.
Alternately write "Partially addresses #<number>" or "Related to
#<number>" as appropriate. -->
Before we can merge #12093 (superseded by #12260), we need to make sure
that all of our code is compatible with the new version of phpstan, and
this was the one place that our code has started failing.

### What is the New Behavior?
<!-- Include before & after screenshots/videos if the user interface has
changed. -->
Phpstan 2.1.32 now passes after this change.

### What steps should a reviewer take to reproduce or test the bug or
new feature?
1. Checkout #12260 and run `composer install` and then phpstan and view
that 1 error is detected
2. Run `git diff main phpstan-prep | git apply` to get the changes from
this branch
3. Run phpstan again and it shall pass

### Automated Testing & Documentation
<!-- Is this feature sufficiently tested by unit tests and end-to-end
tests?
If this PR does not add/update the necessary automated tests, write a
new GitHub issue and link it below.
Is this feature sufficiently documented on submitty.org?
Link related PRs or new GitHub issue to update documentation. -->

### Other information
<!-- Is this a breaking change?  
Does this PR include migrations to update existing installations?  
Are there security concerns with this PR? -->

---------

Co-authored-by: Ryan Styron <ryanstyron1220@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants