2793 Commits

Author SHA1 Message Date
Anton Medvedev
208bf652fe Fix sub_directory update code strategy 2022-03-17 20:07:19 +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
Anton Medvedev
80536eaa0b
Update dependabot.yml 2022-03-14 17:56:29 +01:00
dependabot[bot]
b73f2d7835
Bump phpunit/phpunit from 9.5.17 to 9.5.18 (#3041)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.17 to 9.5.18.
- [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.17...9.5.18)

---
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-14 17:55:54 +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
antonmedv
946e9c50d8 [automatic] Update docs with bin/docgen 2022-03-13 20:08:19 +00:00
chrisan
1d2da8cada
Add artisan event:cache to Laravel deployment task (#3035)
This does not appear to harm Laravel apps with event discovery disabled but will speed up applications that do use it
2022-03-13 21:07:56 +01:00
Anton Medvedev
5082861bb9 Fixes #2968
Add default host config values
2022-03-13 17:18:36 +01:00
Anton Medvedev
28615d075b Separate legacy and joy tests 2022-03-13 17:08:44 +01:00
Anton Medvedev
cab76aee6b Limit release_log to 300 2022-03-13 00:45:30 +01:00
Anton Medvedev
7360569cbf Fix code style 2022-03-13 00:41:32 +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
Anton Medvedev
019eec1398 Allow master server to perform large requests 2022-03-12 23:12:30 +01:00
Anton Medvedev
2d11878461 Enforce proper types from yaml recipes 2022-03-12 22:10:25 +01:00
Anton Medvedev
0fac14952a Append Caddyfile instead of overriding it 2022-03-12 21:38:39 +01:00
antonmedv
24ba755592 [automatic] Update docs with bin/docgen 2022-03-12 16:42:27 +00:00
Peter Jaap Blaakmeer
12f0c41405
Remove absolute file paths from theme-config using the deploy_path (#2801)
* Remove absolute file paths from theme-config using the deploy_path

* Updated docs

* Update regex

* Fix regex

* Update shopware.php

Updated regex to allow release names with alphanumeric characters

Co-authored-by: Anton Medvedev <anton@medv.io>
2022-03-12 17:42:08 +01:00
Sergei Sergeev
6351797093
Site-enabled folder for Caddy configs (#2949)
* Site-enabled folder for Caddy configs

* Caddyfile from project path

* Remove debug code

* always reload caddy

* fix a doc
2022-03-12 17:41:26 +01:00
Anton Medvedev
7b22d35f78 Remove config.md 2022-03-12 17:14:16 +01:00
Anton Medvedev
39e91cdbaa
Update feature_request.md 2022-03-12 17:01:11 +01:00
Anton Medvedev
d7e4c41a02
Update bug_report.md 2022-03-12 17:00:58 +01:00
Anton Medvedev
0996e602f9
Update config.yml 2022-03-12 17:00:36 +01:00
Anton Medvedev
2d787d1b12
Update config.yml 2022-03-12 17:00:08 +01:00
Anton Medvedev
a6f3dd5675
Update config.yml 2022-03-12 16:59:26 +01:00
Kamil Kuzminski
810ff98e31
Make the Importer class extendable (#3010)
* Make the importer extendable

* Fix the existing unit tests

* Add the unit test
2022-03-10 13:12:09 +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
Anton Medvedev
f04c5fc2a6
Revert "check func_num_args() in get() (#2951)" (#2995)
This reverts commit 5a1fdf86d7b6e097e1861b1a015b3226152f712e.
2022-03-04 23:36:11 +01:00
Anton Medvedev
4ec52d645e
Update info.php 2022-03-03 22:20:50 +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
refs
5a1fdf86d7
check func_num_args() in get() (#2951) 2022-03-03 21:46:26 +01:00
refs
435d07cabf
Don't copy node_modules because it will get deleted (#2919) 2022-03-03 21:46:00 +01:00
Yoann Chocteau
26946527fd
Fix ssh command to work on Windows (#2920) 2022-03-03 21:45:26 +01:00
Richard Henkenjohann
7732d7ecb4
Contao recipe (#2851)
* Add Contao recipe

* Fix command argument

* Enable maintenance mode in both the current and release build

* Add the contao:manager:lock task

* Use correct public path in shared_dirs

* Make sure that the directory exists
2022-03-03 21:44:27 +01:00
Dr. Ulrich Thomas Gabor
5853e7049c
Fix replacing tasks (#2879)
fixes #2878
2022-03-03 21:44:10 +01:00
antonmedv
8a54355fea [automatic] Update docs with bin/docgen 2022-03-03 20:39:51 +00:00
Anton Medvedev
d2a65e5a13
Add more dirs into Symfony to writable dirs
Added: 'var/cache', 'var/log', 'var/sessions'
2022-03-03 21:39:28 +01:00
antonmedv
37f79878a9 [automatic] Update docs with bin/docgen 2022-03-03 20:35:54 +00:00
matsn0w
baece5a6e3
Add an option to deploy only a sub-folder of the repository (#2821)
* add new sub_directory option

* update docs

* Update docs/recipe/deploy/update_code.md

Co-authored-by: Mario Ramundo <ramundomario@gmail.com>

Co-authored-by: Mario Ramundo <ramundomario@gmail.com>
Co-authored-by: Anton Medvedev <anton@medv.io>
2022-03-03 21:35:25 +01:00
Laura Folco
5550911cf6
Magento2: allow non-zero-downtime deployment (#2941)
* Magento2: allow non-zero-downtime deployment; add `.maintenance.flag` to shared files

* ran docgen
2022-03-03 21:21:08 +01:00
refs
d1b2c51ccc
Fix php-fpm recipe: use bin/php and add statement terminator (#2956) 2022-03-03 21:18:00 +01:00
Yanick Witschi
fdb18d0a8e
Make sure to use the correct PHP binary with existing Composer (#2967)
* Make sure to use the correct PHP binary with existing Composer

* Typo

* Typo again
2022-03-03 21:15:49 +01:00
Benoît Chantre
f8e166b4f7
Add dependabot (#2926) 2022-03-03 21:14:50 +01:00