104 Commits

Author SHA1 Message Date
Tom Scott-Malden
4dc20ce742
DD#0000: feat: Move var-exporter into main requirements (#3662)
* DD#0000: feat: Move var-exporter into main requirements

* DD#0000: feat: Removed var-export

* DD#0000: feat: Updated docs
2023-08-04 16:36:47 +02:00
Tom Scott-Malden
7fa09a2299
Magento 2: Cache key id prefix (#3453) 2023-03-30 17:34:07 +02:00
Julian
78dd230379
Split asset compilation (#3326) 2023-03-24 11:45:54 +01:00
Fran Moreno
4370751c43
Make Deployer work with PHP 8.2 (#3422)
* Make Deployer 7.0.2 work with PHP 8.2

Closes #3399

* Pin symfony/console to minimum version 5.4.9

* Update lock file

* Add a job to test with PHP 8.2

* Bump phpspec/prophecy

Co-authored-by: Stefano Kowalke <info@arroba-it.de>
2023-01-09 10:25:55 +01:00
Anton Medvedev
33e58faba2 Update symfony/console to ^5.4.9 2023-01-09 10:16:18 +01:00
Anton Medvedev
3304d6f977 Revert "Composer update"
This reverts commit 82f500e950eb99cf4640cccfdb86c6035919d5c5.
2023-01-09 09:57:08 +01:00
Anton Medvedev
82f500e950 Composer update 2023-01-08 22:26:53 +01:00
dependabot[bot]
cf569530f5
Bump slevomat/coding-standard from 7.0.19 to 7.1 (#3081)
Bumps [slevomat/coding-standard](https://github.com/slevomat/coding-standard) from 7.0.19 to 7.1.
- [Release notes](https://github.com/slevomat/coding-standard/releases)
- [Commits](https://github.com/slevomat/coding-standard/compare/7.0.19...7.1.0)

---
updated-dependencies:
- dependency-name: slevomat/coding-standard
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 18:50:56 +02:00
dependabot[bot]
801b3ff843
Bump phpunit/phpunit from 9.5.18 to 9.5.20 (#3080)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.18 to 9.5.20.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.18...9.5.20)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 18:50:44 +02:00
Anton Medvedev
92bb8c16d1 Revert "Update composer.lock"
This reverts commit c6374a04a1bf6b0c9be9e3f6d4eb6c3654a4463e.
2022-03-18 23:35:58 +01:00
Anton Medvedev
c6374a04a1 Update composer.lock 2022-03-18 23:31:43 +01:00
Benoît Chantre
93c6dd585b
Remove platform from Composer config (#3044)
Don't fake the PHP version available from the environment.

Closes #2927.
2022-03-15 22:11:27 +01:00
dependabot[bot]
922994bd1d
Bump pestphp/pest from 1.21.1 to 1.21.2 (#3040)
Bumps [pestphp/pest](https://github.com/pestphp/pest) from 1.21.1 to 1.21.2.
- [Release notes](https://github.com/pestphp/pest/releases)
- [Changelog](https://github.com/pestphp/pest/blob/v1.21.2/CHANGELOG.md)
- [Commits](https://github.com/pestphp/pest/compare/v1.21.1...v1.21.2)

---
updated-dependencies:
- dependency-name: pestphp/pest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 17:55:40 +01:00
dependabot[bot]
2c93e0fbb2
Bump phpstan/phpstan from 1.4.8 to 1.4.10 (#3039)
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.4.8 to 1.4.10.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.5.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.4.8...1.4.10)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 17:55:25 +01:00
Mathieu I
9fbb270d99
Fix phpcs update (#3032)
* Bump slevomat/coding-standard from 6.4.1 to 7.0.19

Bumps [slevomat/coding-standard](https://github.com/slevomat/coding-standard) from 6.4.1 to 7.0.19.
- [Release notes](https://github.com/slevomat/coding-standard/releases)
- [Commits](https://github.com/slevomat/coding-standard/compare/6.4.1...7.0.19)

---
updated-dependencies:
- dependency-name: slevomat/coding-standard
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* style: fix all errors reported by phpcs

* style: remove typehints incompatible with php 7

* chore: update phpcs config

* chore: add missing docblocks

* style: remove useless ignore statements

* fix: remove extra mixed typehints

* fix: update api.md

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mathieu Imbert <mathieu.imbert@tracktik.com>
2022-03-13 00:28:16 +01:00
dependabot[bot]
cc0c5fd394
Bump symfony/polyfill-php80 from 1.24.0 to 1.25.0 (#3007)
Bumps [symfony/polyfill-php80](https://github.com/symfony/polyfill-php80) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/symfony/polyfill-php80/releases)
- [Commits](https://github.com/symfony/polyfill-php80/compare/v1.24.0...v1.25.0)

---
updated-dependencies:
- dependency-name: symfony/polyfill-php80
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 20:50:27 +01:00
dependabot[bot]
a6562f05d4
Bump phpunit/phpunit from 9.5.11 to 9.5.17 (#3006)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.11 to 9.5.17.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.11...9.5.17)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 20:50:14 +01:00
dependabot[bot]
1c3ade65e5
Bump phpunit/php-code-coverage from 9.2.14 to 9.2.15 (#3005)
Bumps [phpunit/php-code-coverage](https://github.com/sebastianbergmann/php-code-coverage) from 9.2.14 to 9.2.15.
- [Release notes](https://github.com/sebastianbergmann/php-code-coverage/releases)
- [Changelog](https://github.com/sebastianbergmann/php-code-coverage/blob/master/ChangeLog.md)
- [Commits](https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.14...9.2.15)

---
updated-dependencies:
- dependency-name: phpunit/php-code-coverage
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 20:49:41 +01:00
dependabot[bot]
478e293685
Bump symfony/yaml from 5.4.2 to 5.4.3 (#3003)
Bumps [symfony/yaml](https://github.com/symfony/yaml) from 5.4.2 to 5.4.3.
- [Release notes](https://github.com/symfony/yaml/releases)
- [Changelog](https://github.com/symfony/yaml/blob/5.4/CHANGELOG.md)
- [Commits](https://github.com/symfony/yaml/compare/v5.4.2...v5.4.3)

---
updated-dependencies:
- dependency-name: symfony/yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 20:49:25 +01:00
Mathieu I
c3d236a81f
Fix phpstan issues (#3001)
* Bump phpstan version to support php 8.1

* Fix some minor issues reported by phpstan

* Invert the elseif condition to check the most specific first

Co-authored-by: Mathieu Imbert <mathieu.imbert@tracktik.com>
2022-03-04 23:42:25 +01:00
dependabot[bot]
41375c8b8c
Bump react/http from 1.5.0 to 1.6.0 (#2989)
Bumps [react/http](https://github.com/reactphp/http) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/reactphp/http/releases)
- [Changelog](https://github.com/reactphp/http/blob/master/CHANGELOG.md)
- [Commits](https://github.com/reactphp/http/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: react/http
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 21:52:29 +01:00
dependabot[bot]
97e4d2d1d0
Bump symfony/console from 5.4.2 to 5.4.5 (#2991)
Bumps [symfony/console](https://github.com/symfony/console) from 5.4.2 to 5.4.5.
- [Release notes](https://github.com/symfony/console/releases)
- [Changelog](https://github.com/symfony/console/blob/5.4/CHANGELOG.md)
- [Commits](https://github.com/symfony/console/compare/v5.4.2...v5.4.5)

---
updated-dependencies:
- dependency-name: symfony/console
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 21:52:14 +01:00
dependabot[bot]
9d8a3fd23a
Bump phpunit/php-code-coverage from 9.2.10 to 9.2.14 (#2992)
Bumps [phpunit/php-code-coverage](https://github.com/sebastianbergmann/php-code-coverage) from 9.2.10 to 9.2.14.
- [Release notes](https://github.com/sebastianbergmann/php-code-coverage/releases)
- [Changelog](https://github.com/sebastianbergmann/php-code-coverage/blob/master/ChangeLog.md)
- [Commits](https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.10...9.2.14)

---
updated-dependencies:
- dependency-name: phpunit/php-code-coverage
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 21:52:05 +01:00
dependabot[bot]
65b8d05213
Bump symfony/process from 5.4.2 to 5.4.5 (#2993)
Bumps [symfony/process](https://github.com/symfony/process) from 5.4.2 to 5.4.5.
- [Release notes](https://github.com/symfony/process/releases)
- [Changelog](https://github.com/symfony/process/blob/5.4/CHANGELOG.md)
- [Commits](https://github.com/symfony/process/compare/v5.4.2...v5.4.5)

---
updated-dependencies:
- dependency-name: symfony/process
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-03 21:51:51 +01:00
Anton Medvedev
073929662d composer update 2022-01-11 19:56:59 +01:00
Anton Medvedev
cafe007465 Update deps 2021-11-21 23:14:58 +01:00
Anton Medvedev
af780b3631 Update composer deps 2021-11-03 16:09:45 +01:00
Anton Medvedev
8c3fbec817 Config composer platform to php7.3 2021-10-22 23:41:48 +02:00
Anton Medvedev
b7226c5415 Use schema.json to validate yaml recipes 2021-10-22 23:18:58 +02:00
Anton Medvedev
c5e72013b3 Update deps 2021-10-21 21:11:52 +02:00
Anton Medvedev
0b15d174b9 Update composer deps 2021-09-24 00:08:19 +02:00
Sacharski Bartłomiej
d3b6eaf9fe
Added support for code coverage in E2E tests (#2533)
The E2E docker-compose stack has been modified to include code
coverage for all scripts that are kept in /project and are not
in the exclusion list.

The start command for `deployer` container has been replaced
with a `start-e2e-test.sh` script, which will execute E2E tests,
generate a Clover report and then return the exit code of E2E test
process to make sure that CI is aware of the test result.

Whole idea for collecting E2E coverage has been inspired by the
[this][1] article. All of scripts in `deployer` container will
now start with additional wrapper-like PHP code, which checks
if the `PHP_CCOV_START_FILE` variable is present. If not,
then nothing happens, but if the variable points to a PHP file,
then that file is being included.

The `docker-compose.yml` file has `PHP_CCOV_START_FILE` configured
to point to a file, which sets up code coverage, that starts counting
which instructions in `/project` directory have been called. Once
`php` interpreter starts shutting down, the coverage report is being
dumped into temporary files.

Once all tests have been processed, a script for merging partial
coverage reports is executed and finally a Clover code coverage file
is stored in the path defined in the `PHP_CCOV_OUTPUT_FILE` env var.

[1]: https://tarunlalwani.com/post/php-code-coverage-web-selenium/
2021-05-02 15:15:19 +02:00
Anton Medvedev
387b4c1d51
Update composer dependencies (#2453)
As well rename test dir to tests, as Pest does not support dir without s on the end.
Also, remove PHP requirement from composer.json as we already have check-in bin/dep and it's better to have the check only in one place (now they already out of sync).
2021-03-12 13:56:16 +03:00
Fabian Blechschmidt
f5c9a92b1d
Feature/2423 shopware order modules (#2425)
* #2423 shopware: task sw:plugin:activate:all runs migration script in wrong order

- add dependency for polyfill (to use str_ends_with)
- marcj/topsort (for sorting the shopware modules)

* #2423 shopware: task sw:plugin:activate:all runs migration script in wrong order

- get the plugin list
- read the composer names and dependencies from composer.lock
- order by dependencies
- use sorted list for activation and migration

* #2423 shopware: task sw:plugin:activate:all runs migration script in wrong order

Update changelog

* #2423 shopware: task sw:plugin:activate:all runs migration script in wrong order

do not update doc, but remove require autoload.php
2021-02-23 08:50:46 +01:00
Anton Medvedev
12b99c6d0a Add Pimple as a component 2020-11-20 22:54:08 +01:00
Anton Medvedev
7fdfcaee55 Add schema.json 2020-11-15 22:30:42 +01:00
Markus Staab
55177c5b18
Fix fail() signature (#2261)
* added phpstan callable types

* Update src/Task/Task.php

* regenerated docs

* Update CHANGELOG.md

* update phpstan

* Restore Collection.php

* Restore Master.php

* Restore helpers.php

* Restore Task.php

* Update functions.php

* Update functions.php

* Update CHANGELOG.md

* regenerate docs
2020-11-02 12:13:57 +01:00
Markus Staab
de0813a5f9
fix phpstan level 1 warnings (#2230)
* fix phpstan level 1 warnings

* Update CHANGELOG.md

* composer update
2020-10-26 17:36:53 +01:00
Markus Staab
7bb908608f
Add phpstan (#2218)
* added phpstan static analysis via GitHub Actions

* Update CHANGELOG.md

* fix bad merge

* Update phpstan.yml

Co-authored-by: Anton Medvedev <anton@medv.io>
2020-10-25 11:21:07 +03:00
Anton Medvedev
8e8c0bc2dc Add yaml syntax 2020-10-15 22:12:24 +02:00
Anton Medvedev
54748566a9 Improve tests 2020-10-09 00:15:28 +02:00
Sacharski Bartłomiej
89bde7059c
[issue-2187] Type declarations for src/Configuration (#2188)
Refactored the code in `src/Configuration` to include type declarations
for method arguments and returned values.

To make it easier to track what's left to do and to have a tool that
prevents "regressions" in the future, PHP_CodeSniffer and Slevomat
Coding Standard have been added.

Next, a `phpcs.xml.dist` file has been created and configured to
enforce type hints for methods. For the time being, only files in
the src/Configuration directory are now being watched.

To make it simpler to execute the checks, `lint` script has been
added to `composer.json` to allow running checks with `composer lint`.
2020-10-07 20:48:33 +02:00
Anton Medvedev
35ced977f9 v7 2020-09-29 22:56:35 +02:00
Andreas Möller
6b42f488af
Enhancement: Validate composer.json and composer.lock (#2149)
* Enhancement: Validate composer.json and composer.lock

* Fix: Update composer.lock
2020-09-03 16:19:22 +03:00
Anton Medvedev
8293eb931e wip 2020-07-26 22:35:08 +03:00
Anton Medvedev
29a643b623 v7 2020-05-16 18:02:17 +03:00
Anton Medvedev
86c7b3848f Fix incompatibility with Symfony 5 2019-12-15 21:11:39 +07:00
Anton Medvedev
9fd858fbd6 Release v6.7.0 2019-12-14 17:38:03 +07:00
Ganon
9ce3f79c2f Add Symfony 5 support (#1956) 2019-12-06 15:55:19 +07:00
Anton Medvedev
99423f0b6e Fix build script and update composer 2018-04-20 19:23:19 +07:00