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
Anton Medvedev
2feb5c1247
Update docs
2020-10-25 14:20:03 +01:00
Anton Medvedev
56e05373fa
Update README.md
2020-10-25 14:11:06 +01:00
Joey Kaan
ee3746690b
Add composer_version to choose which composer version to install ( #2222 )
...
Co-authored-by: Joey Kaan <joeyk@spotify.com>
2020-10-25 13:01:34 +01:00
Anton Medvedev
007b0db40f
Add funding
2020-10-25 09:51:47 +01:00
Anton Medvedev
530353ee65
Fix e2e
2020-10-25 09:50:01 +01:00
Anton Medvedev
90ae26b5d8
Clean up configs
2020-10-25 09:46:47 +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
Markus Staab
8ee17a9b5b
fix phpdocs ( #2219 )
2020-10-24 01:06:40 +03:00
Anton Medvedev
f3e0c18de4
Update FUNDING.yml
2020-10-24 00:30:18 +03:00
Markus Staab
76a5011119
added phpdocs ( #2216 )
2020-10-22 19:28:25 +02:00
Markus Staab
119da3b65e
updated docs for fail() ( #2215 )
...
* updated docs for fail()
* Update functions.php
* Update functions.php
2020-10-22 19:26:43 +02:00