2066 Commits

Author SHA1 Message Date
Anton Medvedev
cf6d6998fc
Update bug_report.md 2020-11-10 00:45:47 +03:00
Anton Medvedev
bd6db13289
Update README.md 2020-11-10 00:39:13 +03:00
chriswalg
e463863459
Disabled support of cachetool below version 5. (#2280)
Fixed resolving of cachetool binary.
2020-11-10 00:19:00 +03:00
Anton Medvedev
1d3f187cc5 Allow for styles 2020-11-08 17:42:23 +01:00
Martijn Gastkemper
97127d1a2a
Replace run('which xxx') by locateBinaryPath('xxx') (#2276)
`which` isn't POSIX compatible, `command -v` is. `locateBinaryPath` uses
the latter.
2020-11-08 09:29:38 +01:00
Anton Medvedev
2bcb813df1 Add check updates 2020-11-07 15:44:48 +01:00
Anton Medvedev
cbc9748a28 Back to master 2020-11-05 23:06:30 +01:00
Anton Medvedev
2209942bff Release v7 beta 4 v7.0.0-beta.4 2020-11-05 23:04:16 +01:00
Anton Medvedev
2405241f2d Add timeout exceptions 2020-11-05 19:43:04 +01:00
Anton Medvedev
e47d8460f5 Update docs 2020-11-04 19:24:05 +01:00
Anton Medvedev
76f07b4e05 Add config validation 2020-11-04 19:20:23 +01:00
Anton Medvedev
fc06044cb6 Update CHANGELOG.md 2020-11-04 10:02:57 +01:00
Markus Staab
4040e1dd71
added @throws for run/runLocally and friends (#2264)
* added @throws for run/runLocally

* added `@throws` declarations

* generate docs
2020-11-03 20:28:24 +03: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
f0aeb8c83a
fix phpstan level 4 warnings (#2252)
* its invalid to combine `void` with another type

see https://github.com/phpstan/phpstan/issues/4014

* added explicit `return null`, to make phpstan happy and the code more obvious.

* increased phpstan level to 5

* fix: '$subject of function preg_match expects string, int given'
2020-11-02 09:19:08 +01:00
Markus Staab
ba7b68b1e6
fixed typo in rabbit recipe (#2260)
* fixed bug in rabbit recipe

* Update CHANGELOG.md
2020-11-02 09:13:02 +01:00
Martijn Gastkemper
ff1a955806
Add docs to crontab.php (#2259) 2020-10-31 20:40:36 +01:00
Martijn Gastkemper
dc3c024706
Let PHPStan analyze recipe and contrib folder (#2258)
* Let PHPStan analyze recipe and contrib folder

* Update docs
2020-10-31 20:39:55 +01:00
Markus Staab
22e2e07f7a
fix bin/docgen on windows (#2254)
* fix bin/docgen on windows

* Update CHANGELOG.md

* fix ApiGen to handle windows newlines

* fix DocRecipe to handle windows newlines

* regenerate docs
2020-10-30 23:41:45 +01:00
Martijn Gastkemper
7d18c46f2b
Add config var parsing support to crontab jobs (#2257) 2020-10-30 23:41:04 +01:00
Martijn Gastkemper
aec6917349
Remove root dependency from crontab empty check (#2256)
Some OS's need root permissions to access /var/spool/cron and this check
doesn't work on Debian and Ubuntu  because the path is
/var/spool/cron/crontab.
2020-10-30 23:39:19 +01:00
Anton Medvedev
b2de74e9ea Replace hosts with config command 2020-10-29 23:53:49 +01:00
Anton Medvedev
5c736c07d4 Refactor recipes 2020-10-29 23:16:36 +01:00
Jakub Vyvážil
c42476a01f
added type declarations for src/Documentation (#2246) 2020-10-30 01:14:47 +03:00
Jakub Vyvážil
75d579930b
added type declarations for src/Component (#2250) 2020-10-30 01:11:50 +03:00
Jakub Vyvážil
3081e902a0
added type declarations for src/Exception (#2245) 2020-10-29 00:04:27 +03:00
Anton Medvedev
49fb2cc52c Remove unused use 2020-10-28 00:25:08 +01:00
Anton Medvedev
ab3a4ced9a Back to master 2020-10-28 00:21:20 +01:00
Anton Medvedev
236098b090 Release 7.0.0-beta.3 v7.0.0-beta.3 2020-10-28 00:17:39 +01:00
Anton Medvedev
c747a5945b Rename git_target to target 2020-10-28 00:12:18 +01:00
Anton Medvedev
6aa4c77abd Set correct exception path for yaml recipes 2020-10-28 00:06:06 +01:00
Jakub Vyvážil
eb78e7e9e0
added type declarations for src/Executor (#2242)
Co-authored-by: Anton Medvedev <anton@medv.io>
2020-10-28 01:49:00 +03:00
Jakub Vyvážil
053ea4b5e7
added type declarations for src/Host (#2241)
Co-authored-by: Anton Medvedev <anton@medv.io>
2020-10-28 01:48:01 +03:00
Jakub Vyvážil
aea8a2fbad
added type declarations for src/Logger (#2240) 2020-10-28 01:47:07 +03:00
Jakub Vyvážil
987defba52
added type declarations for src/Utility (#2225)
* added type declarations for src/Utility

* added src/Utility to phpcs
2020-10-28 01:46:22 +03:00
Markus Staab
1de4dbcab0
fix phpstan level 3 warnings (#2236) 2020-10-27 17:09:18 +01:00
Sacharski Bartłomiej
d4c1728646
Added nginx/php/php-fpm version checking to provision e2e test (#2235) 2020-10-26 23:55:08 +01:00
Anton Medvedev
e1f55b8822 Update CHANGELOG.md 2020-10-26 22:29:09 +01:00
Markus Staab
c3bd2968cd
fix phpstan level 2 warnings (#2232)
* fix phpstan level 2 warnings

* Update CHANGELOG.md

* fix warnings

* fix types

* fix return type
2020-10-27 00:28:38 +03:00
Anton Medvedev
235ab61ad5 Change run command default path 2020-10-26 22:27:46 +01:00
Sacharski Bartłomiej
9d725ede63
Implemented E2E tests for provision recipe (#2228)
Created new container using Ubuntu 20.04 as a base, for a E2E test
environment for the provision recipe.

Due to container sharing a kernel with host os, the firewall provisioning
had to be turn off during the testing procedure.
2020-10-27 00:22:53 +03:00
Anton Medvedev
af68f672c6
Refactor ssh arguments (#2234)
* Refactor ssh arguments
* Use special control path for CI env
2020-10-27 00:22:23 +03: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
Sacharski Bartłomiej
ee562c552e
[#2187] Added type declarations to src/Task classes (#2226)
Added type declarations to methods that belong to classed defined
in the \Deployer\Task namespace

Co-authored-by: Bartlomiej Sacharski <beton@cementowina.org>
2020-10-25 23:18:50 +03:00
Anton Medvedev
255f26a5e2
Update README.md 2020-10-25 18:08:49 +03:00
Sacharski Bartłomiej
c4e8c29415
[issue-2187] Type declarations for src/Collection (#2194)
* [#2187] Type declarations in src/Collection

Added type declarations for methods in `src/Collection`

* [#2187] Missing type declaration in src/Configuration

Added missing type declaration is `src/Configuration/Configuration.php`

* [#2187] Removed unnecessary return in \Deployer\Collection\Collection::get

Removed the return which would result in returning void in the
\Deployer\Collection\Collection::get method

Updated phpdoc to reflect this change

* [#2197] Removed "@phpcsSuppress" annotations from \Deployer\Collection\Collection

Co-authored-by: Bartlomiej Sacharski <beton@cementowina.org>
2020-10-25 18:04:30 +03:00
Anton Medvedev
ff110c987d
Refactor recipes (#2224) 2020-10-25 18:00:05 +03:00
Anton Medvedev
f6750584a6 Update CHANGELOG.md 2020-10-25 15:07:39 +01:00
Anton Medvedev
936cfb0b69 Update CHANGELOG.md 2020-10-25 15:00:22 +01:00
Anton Medvedev
af995ac8dc
Add docgen check action (#2223) 2020-10-25 16:58:37 +03:00