13 Commits

Author SHA1 Message Date
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
935a795a2d
Add missing types (#2290) 2020-11-17 18:48:49 +03: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
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
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
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
90ae26b5d8 Clean up configs 2020-10-25 09:46:47 +01:00