Skip to content

Commit

Permalink
[#14213] - More corrections to the api script - removed obsolete file…
Browse files Browse the repository at this point in the history
… from ext
  • Loading branch information
niden committed Jul 4, 2019
1 parent 2bb261a commit 24b0406
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 166 deletions.
147 changes: 0 additions & 147 deletions ext/phalcon/db.zep.c

This file was deleted.

15 changes: 0 additions & 15 deletions ext/phalcon/db.zep.h

This file was deleted.

14 changes: 10 additions & 4 deletions tests/_ci/generate-api-docs.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,28 @@
$key = str_replace('.zep', '', $split[0]);
if ('UrlInterface' === $key) {
$key = 'Url';
} elseif ('DiInterface' === $key) {
}

if ('DiInterface' === $key) {
$key = 'Di';
}
} else {
$key = $split[0];
}

$documents[$key]['title'] = 'Phalcon\\' . $split[0];
$documents[$key]['docs'][$fileName] = $fileName;

$documents[$key]['title'] = 'Phalcon\\' . $split[0];
$documents[$key]['docs'][] = $fileName;
if (strpos($documents[$key]['title'], 'Url') > 0) {
$documents[$key]['title'] = 'Phalcon\Url';
}

ksort($documents[$key]['docs']);
}
}

ksort($documents);


foreach ($documents as $document) {
echo 'Processing: ' . $document['title'] . PHP_EOL;
$output = "---
Expand Down

0 comments on commit 24b0406

Please sign in to comment.