diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index c1eecf5..dc89e40 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - php-versions: ['7.4', '8.0'] + php-versions: ['7.4'] runs-on: ubuntu-latest @@ -46,7 +46,7 @@ jobs: - name: Install dependencies if: steps.composer-cache.outputs.cache-hit != 'true' - run: composer install --prefer-dist --no-progress --no-suggest + run: composer install --prefer-dist --no-progress - name: Code lint PHP files run: ./vendor/bin/phplint diff --git a/README.md b/README.md index 54e698a..ca2706f 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@ Includes: * Twig helpers * HTTP cache for full-page caching +## Status +Please note this software is in development, usage may change before the 1.0 release. + ## Requirements * PHP 7.4+ @@ -14,6 +17,12 @@ Includes: ## Installation +Install via Composer: + +``` +composer require strata/symfony-frontend:^0.8 +``` + See [installation](docs/installation.md) ## Documentation diff --git a/composer.json b/composer.json index 2f56013..7c566b1 100644 --- a/composer.json +++ b/composer.json @@ -33,5 +33,8 @@ "squizlabs/php_codesniffer": "^3.5", "phpunit/phpunit": "^9.5", "symfony/test-pack": "^1.0" + }, + "config": { + "allow-plugins": false } } diff --git a/src/DataCollector/StrataDataCollector.php b/src/DataCollector/StrataDataCollector.php index 991defe..5c427f1 100644 --- a/src/DataCollector/StrataDataCollector.php +++ b/src/DataCollector/StrataDataCollector.php @@ -1,5 +1,7 @@ helper->apply($event->getResponse()); } - } diff --git a/src/EventSubscriber/ResponseTagsEventSubscriber.php b/src/EventSubscriber/ResponseTagsEventSubscriber.php index b329235..fd83b25 100644 --- a/src/EventSubscriber/ResponseTagsEventSubscriber.php +++ b/src/EventSubscriber/ResponseTagsEventSubscriber.php @@ -60,5 +60,4 @@ public function onKernelResponse(ResponseEvent $event) // Add custom response header (since some cache proxies strip cache tag header) $event->getResponse()->headers->set(self::TAGS_HEADER_NAME, $this->responseTagger->getTagsHeaderValue()); } - }