Skip to content

Commit c44288b

Browse files
1.26 see README.md for a list of changes
1 parent 632e7ba commit c44288b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

AutoLoadOne.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ public function process(): void
571571
}
572572
$urlFull = $this->dirNameLinux($full); ///folder/subfolder/f1
573573
$tmpArr = explode('/', $f); //F1.php
574-
$basefile = end($tmpArr); // the config name shares the same name than the php but with extension .json
574+
$basefile = end($tmpArr); // the config name shares the same name as the php but with extension .json
575575
if ($runMe != '') {
576576
switch ($runMe) {
577577
case '@autorun first':
@@ -886,7 +886,7 @@ public function parsePHPFile($filename, string &$runMe): array
886886
}
887887

888888
$isClass = false;
889-
// A class is defined by a T_CLASS + an space + name of the class.
889+
// A class is defined by a T_CLASS + a space + name of the class.
890890
if (is_array($token) && ($token[0] == T_CLASS || $token[0] == T_INTERFACE || $token[0] == T_TRAIT) &&
891891
is_array($tokens[$p + 1]) && $tokens[$p + 1][0] == T_WHITESPACE) {
892892
$isClass = true;

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ AutoloadOne is a program that generates an autoload class (Auto Include) for PHP
44

55
[![Packagist](https://img.shields.io/packagist/v/eftec/autoloadone.svg)](https://packagist.org/packages/eftec/autoloadone)
66
[![Total Downloads](https://poser.pugx.org/eftec/autoloadone/downloads)](https://packagist.org/packages/eftec/autoloadone)
7-
[![Maintenance](https://img.shields.io/maintenance/yes/2021.svg)]()
7+
[![Maintenance](https://img.shields.io/maintenance/yes/2022.svg)]()
88
[![composer](https://img.shields.io/badge/composer-%3E1.8-blue.svg)]()
9-
[![php](https://img.shields.io/badge/php->5.6-green.svg)]()
10-
[![php](https://img.shields.io/badge/php-7.x-green.svg)]()
9+
[![php](https://img.shields.io/badge/php-7.1-green.svg)]()
1110
[![php](https://img.shields.io/badge/php-8.x-green.svg)]()
1211
[![CocoaPods](https://img.shields.io/badge/docs-60%25-yellow.svg)]()
1312

0 commit comments

Comments
 (0)