Skip to content

Commit 2d06971

Browse files
Use British English and remove redundant PHPDoc tags
Co-authored-by: jahidulpabelislam <15434150+jahidulpabelislam@users.noreply.github.com>
1 parent e88ddf8 commit 2d06971

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ If you find any issues or have any feature requests, you can open a [issue](http
5252

5353
- [Jahidul Pabel Islam](https://jahidulpabelislam.com/) [<me@jahidulpabelislam.com>](mailto:me@jahidulpabelislam.com)
5454

55-
## License
55+
## Licence
5656

57-
This module is licensed under the GNU General Public License v3.0 - see the [LICENSE.md](LICENSE.md) file for details
57+
This module is licenced under the GNU General Public Licence v3.0 - see the [LICENSE.md](LICENSE.md) file for details

src/CronLinter.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ final class CronLinter
1010

1111
/**
1212
* Lint multiple cron files.
13-
*
14-
* @param array<string> $files Array of file paths to lint
15-
* @param string $baseDir Optional base directory path to prepend to relative file paths
16-
* @return array<string> Array of error messages found, empty if no errors
1713
*/
1814
public static function lintFiles(array $files, string $baseDir = ""): array
1915
{
@@ -43,9 +39,6 @@ public static function lintFiles(array $files, string $baseDir = ""): array
4339

4440
/**
4541
* Lint cron content directly from a string.
46-
*
47-
* @param string $content String containing cron expressions (one per line)
48-
* @return array<string> Array of error messages found, empty if no errors
4942
*/
5043
public static function lintContent(string $content): array
5144
{
@@ -65,10 +58,6 @@ public static function lintContent(string $content): array
6558

6659
/**
6760
* Validate a single cron line.
68-
*
69-
* @param string $line The cron line to validate
70-
* @param int $lineNo The line number (for error reporting)
71-
* @return void
7261
*/
7362
public function validateLine(string $line, int $lineNo): void
7463
{

src/CronLinter/Command.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ protected function configure(): void
3939

4040
/**
4141
* Execute the cron linting command.
42-
*
43-
* @param InputInterface $input The input interface
44-
* @param OutputInterface $output The output interface
45-
* @return int The exit code (SUCCESS or FAILURE)
4642
*/
4743
protected function execute(InputInterface $input, OutputInterface $output): int
4844
{

0 commit comments

Comments
 (0)