Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

feat: resolve PHPStan issues #14

Merged
merged 6 commits into from
Dec 21, 2023
Merged

Conversation

JoshuaLicense
Copy link
Contributor

Description

Resolves the identified PHPStan issues.

@JoshuaLicense JoshuaLicense self-assigned this Dec 21, 2023
@JoshuaLicense JoshuaLicense merged commit d64d93d into master Dec 21, 2023
4 of 5 checks passed
@JoshuaLicense JoshuaLicense deleted the migrate-to-github-part-4-phpstan branch December 21, 2023 14:14
fibble added a commit that referenced this pull request Mar 1, 2024
chore: replace composer deps to begin refactor

# This is the commit message #2:

chore: replace composer deps to begin refactor

# This is the commit message #3:

refactor: replace laminas-console with laminas-cli

# This is the commit message #4:

refactor: replace laminas-console with laminas-cli

# This is the commit message #5:

refactor: replace laminas-console with laminas-cli

# This is the commit message #6:

refactor: replace laminas-console with laminas-cli

# This is the commit message #7:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #8:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #9:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #10:

refactor: Tweaked result handling

# This is the commit message #11:

refactor: migrated more commands from BatchController

# This is the commit message #12:

refactor: migrated more commands from BatchController

# This is the commit message #13:

refactor: more cmds migrated

# This is the commit message #14:

refactor: some config organised, queue controllers spun out into commands.

# This is the commit message #15:

refactor: some fixes to config and constructor

# This is the commit message #16:

refactor: reorganised a bit to correct some incorrect behaviour noticed in local testing

# This is the commit message #17:

refactor: sorted auth/privelege escallation now running as laminas-cli not as MvcConsole request

# This is the commit message #18:

refactor: Intial unit test work.

# This is the commit message #19:

refactor: more unit test work

# This is the commit message #20:

refactor: further tests implemented

refactor: further test implemented

refactor: unit test work

refactor: more unit tests created

refactor: Tests, static analysis fixes. Refactored controllers removed.

refactor: Tests, static analysis fixes. Refactored controllers removed.

refactor: Imports optimised
fibble added a commit that referenced this pull request Mar 5, 2024
chore: replace composer deps to begin refactor

# This is the commit message #2:

chore: replace composer deps to begin refactor

# This is the commit message #3:

refactor: replace laminas-console with laminas-cli

# This is the commit message #4:

refactor: replace laminas-console with laminas-cli

# This is the commit message #5:

refactor: replace laminas-console with laminas-cli

# This is the commit message #6:

refactor: replace laminas-console with laminas-cli

# This is the commit message #7:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #8:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #9:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #10:

refactor: Tweaked result handling

# This is the commit message #11:

refactor: migrated more commands from BatchController

# This is the commit message #12:

refactor: migrated more commands from BatchController

# This is the commit message #13:

refactor: more cmds migrated

# This is the commit message #14:

refactor: some config organised, queue controllers spun out into commands.

# This is the commit message #15:

refactor: some fixes to config and constructor

# This is the commit message #16:

refactor: reorganised a bit to correct some incorrect behaviour noticed in local testing

# This is the commit message #17:

refactor: sorted auth/privelege escallation now running as laminas-cli not as MvcConsole request

# This is the commit message #18:

refactor: Intial unit test work.

# This is the commit message #19:

refactor: more unit test work

# This is the commit message #20:

refactor: further tests implemented

refactor: further test implemented

refactor: unit test work

refactor: more unit tests created

refactor: Tests, static analysis fixes. Refactored controllers removed.

refactor: Tests, static analysis fixes. Refactored controllers removed.

refactor: Imports optimised
fibble added a commit that referenced this pull request Mar 6, 2024
chore: replace composer deps to begin refactor

# This is the commit message #2:

chore: replace composer deps to begin refactor

# This is the commit message #3:

refactor: replace laminas-console with laminas-cli

# This is the commit message #4:

refactor: replace laminas-console with laminas-cli

# This is the commit message #5:

refactor: replace laminas-console with laminas-cli

# This is the commit message #6:

refactor: replace laminas-console with laminas-cli

# This is the commit message #7:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #8:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #9:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #10:

refactor: Tweaked result handling

# This is the commit message #11:

refactor: migrated more commands from BatchController

# This is the commit message #12:

refactor: migrated more commands from BatchController

# This is the commit message #13:

refactor: more cmds migrated

# This is the commit message #14:

refactor: some config organised, queue controllers spun out into commands.

# This is the commit message #15:

refactor: some fixes to config and constructor

# This is the commit message #16:

refactor: reorganised a bit to correct some incorrect behaviour noticed in local testing

# This is the commit message #17:

refactor: sorted auth/privelege escallation now running as laminas-cli not as MvcConsole request

# This is the commit message #18:

refactor: Intial unit test work.

# This is the commit message #19:

refactor: more unit test work

# This is the commit message #20:

refactor: further tests implemented

refactor: further test implemented

refactor: unit test work

refactor: more unit tests created

refactor: Tests, static analysis fixes. Refactored controllers removed.

refactor: Tests, static analysis fixes. Refactored controllers removed.

refactor: Imports optimised
fibble added a commit that referenced this pull request Mar 6, 2024
chore: replace composer deps to begin refactor

# This is the commit message #2:

chore: replace composer deps to begin refactor

# This is the commit message #3:

refactor: replace laminas-console with laminas-cli

# This is the commit message #4:

refactor: replace laminas-console with laminas-cli

# This is the commit message #5:

refactor: replace laminas-console with laminas-cli

# This is the commit message #6:

refactor: replace laminas-console with laminas-cli

# This is the commit message #7:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #8:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #9:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #10:

refactor: Tweaked result handling

# This is the commit message #11:

refactor: migrated more commands from BatchController

# This is the commit message #12:

refactor: migrated more commands from BatchController

# This is the commit message #13:

refactor: more cmds migrated

# This is the commit message #14:

refactor: some config organised, queue controllers spun out into commands.

# This is the commit message #15:

refactor: some fixes to config and constructor

# This is the commit message #16:

refactor: reorganised a bit to correct some incorrect behaviour noticed in local testing

# This is the commit message #17:

refactor: sorted auth/privelege escallation now running as laminas-cli not as MvcConsole request

# This is the commit message #18:

refactor: Intial unit test work.

# This is the commit message #19:

refactor: more unit test work

# This is the commit message #20:

refactor: further tests implemented

refactor: further test implemented

refactor: unit test work

refactor: more unit tests created

refactor: Tests, static analysis fixes. Refactored controllers removed.

refactor: Tests, static analysis fixes. Refactored controllers removed.

refactor: Imports optimised
fibble added a commit that referenced this pull request Mar 6, 2024
# This is the 1st commit message:

# This is the 1st commit message:

chore: replace composer deps to begin refactor

# This is the commit message #2:

chore: replace composer deps to begin refactor

# This is the commit message #3:

refactor: replace laminas-console with laminas-cli

# This is the commit message #4:

refactor: replace laminas-console with laminas-cli

# This is the commit message #5:

refactor: replace laminas-console with laminas-cli

# This is the commit message #6:

refactor: replace laminas-console with laminas-cli

# This is the commit message #7:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #8:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #9:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #10:

refactor: Tweaked result handling

# This is the commit message #11:

refactor: migrated more commands from BatchController

# This is the commit message #12:

refactor: migrated more commands from BatchController

# This is the commit message #13:

refactor: more cmds migrated

# This is the commit message #14:

refactor: some config organised, queue controllers spun out into commands.

# This is the commit message #15:

refactor: some fixes to config and constructor

# This is the commit message #16:

refactor: reorganised a bit to correct some incorrect behaviour noticed in local testing

# This is the commit message #17:

refactor: sorted auth/privelege escallation now running as laminas-cli not as MvcConsole request

# This is the commit message #18:

refactor: Intial unit test work.

# This is the commit message #19:

refactor: more unit test work

# This is the commit message #20:

refactor: further tests implemented

refactor: further test implemented

refactor: unit test work

refactor: more unit tests created

refactor: Tests, static analysis fixes. Refactored controllers removed.

refactor: Tests, static analysis fixes. Refactored controllers removed.

refactor: Imports optimised

# This is the commit message #2:

refactor: unit test fixes

# This is the commit message #3:

refactor: composer dev dep removed

# This is the commit message #4:

fix: noticed literal issue in log/cli status print

# This is the commit message #5:

fix: noticed literal issue in log/cli status print

# This is the commit message #6:

chore:  updating lockfile

# This is the commit message #7:

chore: updating lockfile abd adding dev-dependency for test build

# This is the commit message #8:

# This is the 1st commit message:

chore: replace composer deps to begin refactor

# This is the commit message #2:

chore: replace composer deps to begin refactor

# This is the commit message #3:

refactor: replace laminas-console with laminas-cli

# This is the commit message #4:

refactor: replace laminas-console with laminas-cli

# This is the commit message #5:

refactor: replace laminas-console with laminas-cli

# This is the commit message #6:

refactor: replace laminas-console with laminas-cli

# This is the commit message #7:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #8:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #9:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #10:

refactor: Tweaked result handling

# This is the commit message #11:

refactor: migrated more commands from BatchController

# This is the commit message #12:

refactor: migrated more commands from BatchController

# This is the commit message #13:

refactor: more cmds migrated

# This is the commit message #14:

refactor: some config organised, queue controllers spun out into commands.

# This is the commit message #15:

refactor: some fixes to config and constructor

# This is the commit message #16:

refactor: reorganised a bit to correct some incorrect behaviour noticed in local testing

# This is the commit message #17:

refactor: sorted auth/privelege escallation now running as laminas-cli not as MvcConsole request

# This is the commit message #18:

refactor: Intial unit test work.

# This is the commit message #19:

refactor: more unit test work

# This is the commit message #20:

refactor: further tests implemented

refactor: further test implemented

refactor: unit test work

refactor: more unit tests created

refactor: Tests, static analysis fixes. Refactored controllers removed.

refactor: Tests, static analysis fixes. Refactored controllers removed.

refactor: Imports optimised

# This is the commit message #9:

refactor: unit test fixes

# This is the commit message #10:

refactor: composer dev dep removed

# This is the commit message #11:

fix: noticed literal issue in log/cli status print

# This is the commit message #12:

fix: noticed literal issue in log/cli status print

# This is the commit message #13:

chore:  updating lockfile

# This is the commit message #14:

chore: updating lockfile abd adding dev-dependency for test build

# This is the commit message #15:

chore: updating lockfile abd adding dev-dependency for test build

# This is the commit message #16:

# This is the 1st commit message:

chore: replace composer deps to begin refactor

# This is the commit message #2:

chore: replace composer deps to begin refactor

# This is the commit message #3:

refactor: replace laminas-console with laminas-cli

# This is the commit message #4:

refactor: replace laminas-console with laminas-cli

# This is the commit message #5:

refactor: replace laminas-console with laminas-cli

# This is the commit message #6:

refactor: replace laminas-console with laminas-cli

# This is the commit message #7:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #8:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #9:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #10:

refactor: Tweaked result handling

# This is the commit message #11:

refactor: migrated more commands from BatchController

# This is the commit message #12:

refactor: migrated more commands from BatchController

# This is the commit message #13:

refactor: more cmds migrated

# This is the commit message #14:

refactor: some config organised, queue controllers spun out into commands.

# This is the commit message #15:

refactor: some fixes to config and constructor

# This is the commit message #16:

refactor: reorganised a bit to correct some incorrect behaviour noticed in local testing

# This is the commit message #17:

refactor: sorted auth/privelege escallation now running as laminas-cli not as MvcConsole request

# This is the commit message #18:

refactor: Intial unit test work.

# This is the commit message #19:

refactor: more unit test work

# This is the commit message #20:

refactor: further tests implemented

refactor: further test implemented

refactor: unit test work

refactor: more unit tests created

refactor: Tests, static analysis fixes. Refactored controllers removed.

refactor: Tests, static analysis fixes. Refactored controllers removed.

refactor: Imports optimised

refactor: unit test fixes

refactor: composer dev dep removed

fix: noticed literal issue in log/cli status print

fix: noticed literal issue in log/cli status print

chore:  updating lockfile

chore: updating lockfile abd adding dev-dependency for test build

# This is the 1st commit message:

chore: replace composer deps to begin refactor

# This is the commit message #2:

chore: replace composer deps to begin refactor

# This is the commit message #3:

refactor: replace laminas-console with laminas-cli

# This is the commit message #4:

refactor: replace laminas-console with laminas-cli

# This is the commit message #5:

refactor: replace laminas-console with laminas-cli

# This is the commit message #6:

refactor: replace laminas-console with laminas-cli

# This is the commit message #7:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #8:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #9:

refactor: near-identical factory boilerplate was bloating, moved to ConfigAbstractFactory for these commands.

# This is the commit message #10:

refactor: Tweaked result handling

# This is the commit message #11:

refactor: migrated more commands from BatchController

# This is the commit message #12:

refactor: migrated more commands from BatchController

# This is the commit message #13:

refactor: more cmds migrated

# This is the commit message #14:

refactor: some config organised, queue controllers spun out into commands.

# This is the commit message #15:

refactor: some fixes to config and constructor

# This is the commit message #16:

refactor: reorganised a bit to correct some incorrect behaviour noticed in local testing

# This is the commit message #17:

refactor: sorted auth/privelege escallation now running as laminas-cli not as MvcConsole request

# This is the commit message #18:

refactor: Intial unit test work.

# This is the commit message #19:

refactor: more unit test work

# This is the commit message #20:

refactor: further tests implemented

refactor: further test implemented

refactor: unit test work

refactor: more unit tests created

refactor: Tests, static analysis fixes. Refactored controllers removed.

refactor: Tests, static analysis fixes. Refactored controllers removed.

refactor: Imports optimised

refactor: unit test fixes

refactor: composer dev dep removed

fix: noticed literal issue in log/cli status print

fix: noticed literal issue in log/cli status print

chore:  updating lockfile

chore: updating lockfile abd adding dev-dependency for test build

chore: updating lockfile abd adding dev-dependency for test build
jerotire pushed a commit to dvsa/vol-app that referenced this pull request Aug 16, 2024
* fix: remove `NamingServiceAwareTraitTest` due to over-coupling

The trait depends on `$this->getRepo()` which doesn't exist in this trait so would require this trait to be used in combination with classes that provide this method.

* fix: resolve various PHPStan issues

* chore: bump `olcs-transfer`

* fix: correctly type the DeclarationTest `ApplicationUndertakings` mock

* fix: assertEmpty on `ConditionsUndertakingsReviewService` instead of `null`

* chore: add `public` and `config` directory to PHPStan scope
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants