Skip to content

Commit

Permalink
Temporarily remove check-application-mapping script and workflow
Browse files Browse the repository at this point in the history
Not needed when the two PHPStan extensions have been removed now.

Originally added in #296

Also removed `check-application-mapping (8.3)` check from the main branch rulesets.
  • Loading branch information
spaze committed Nov 11, 2024
1 parent 4cdafd5 commit aea3c4f
Show file tree
Hide file tree
Showing 20 changed files with 2 additions and 900 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,6 @@ jobs:
php-version: ${{ matrix.php-version }}
- run: make --directory=app check-makefile

check-application-mapping:
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- "8.3"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2
with:
coverage: none
php-version: ${{ matrix.php-version }}
- run: make --directory=app check-application-mapping

check-sri-macros-concat:
runs-on: ubuntu-latest
steps:
Expand Down
7 changes: 2 additions & 5 deletions app/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: test composer-audit npm-audit cs-fix check-file-patterns check-makefile check-application-mapping check-sri-macros-concat lint-php lint-latte lint-neon lint-xml lint-xml-auto-install phpcs phpstan phpstan-vendor psalm tester tester-include-skipped gitleaks composer-dependency-analyser update-security-txt
.PHONY: test composer-audit npm-audit cs-fix check-file-patterns check-makefile check-sri-macros-concat lint-php lint-latte lint-neon lint-xml lint-xml-auto-install phpcs phpstan phpstan-vendor psalm tester tester-include-skipped gitleaks composer-dependency-analyser update-security-txt

test: composer-audit npm-audit check-file-patterns check-makefile check-application-mapping check-sri-macros-concat lint-php lint-latte lint-neon lint-xml phpcs phpstan tester psalm phpstan-vendor composer-dependency-analyser
test: composer-audit npm-audit check-file-patterns check-makefile check-sri-macros-concat lint-php lint-latte lint-neon lint-xml phpcs phpstan tester psalm phpstan-vendor composer-dependency-analyser

composer-audit:
composer audit
Expand All @@ -17,9 +17,6 @@ check-file-patterns:
check-makefile:
bin/check-makefile.php

check-application-mapping:
bin/check-application-mapping.php

check-sri-macros-concat:
bin/check-sri-macros-concat.sh

Expand Down
27 changes: 0 additions & 27 deletions app/bin/check-application-mapping.php

This file was deleted.

4 changes: 0 additions & 4 deletions app/config/services.neon
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ services:
- MichalSpacekCz\Application\LinkGenerator
localeLinkGenerator: MichalSpacekCz\Application\Locale\LocaleLinkGenerator(languages: %locales.languages%)
- MichalSpacekCz\Application\Locale\Locales
- MichalSpacekCz\Application\MappingCheck\ApplicationMappingCheck
- MichalSpacekCz\Application\MappingCheck\Files\ApplicationMappingCheckCommonNeon(%siteDir%/config/common.neon)
- MichalSpacekCz\Application\MappingCheck\Files\ApplicationMappingCheckPhpStanLatteNeon(%siteDir%/phpstan-latte-templates.neon)
- MichalSpacekCz\Application\MappingCheck\Files\ApplicationMappingCheckPhpStanNetteLinksNeon(%siteDir%/phpstan.neon)
- MichalSpacekCz\Application\Routing\RouterFactory(supportedLocales: %locales.supported%, rootDomainMapping: %locales.rootDomainMapping%, translatedRoutes: %translatedRoutes.presenters%)
- @MichalSpacekCz\Application\Routing\RouterFactory::createRouter
- MichalSpacekCz\Application\SanitizedPhpInfo
Expand Down
60 changes: 0 additions & 60 deletions app/src/Application/MappingCheck/ApplicationMappingCheck.php

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit aea3c4f

Please sign in to comment.