FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
phpcloc/phpcloc at develop · appzcoder/phpcloc · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
appzcoder
/
phpcloc
Public
Notifications
You must be signed in to change notification settings
Fork
3
Star
37
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
phpcloc
/
phpcloc
Copy path
More file actions
More file actions
Latest commit
History
History
History
29 lines (24 loc) · 685 Bytes
Breadcrumbs
phpcloc
/
phpcloc
Copy path
File metadata and controls
29 lines (24 loc) · 685 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/env php
<?php
if
(
file_exists
(
$
a
=
__DIR__
.
'
/../../autoload.php
'
)) {
require_once
$
a
;
}
else
{
require_once
__DIR__
.
'
/vendor/autoload.php
'
;
}
use
Appzcoder
\
PHPCloc
\
Commands
\
ClocCommand
;
use
Appzcoder
\
PHPCloc
\
Commands
\
DuplicateCommand
;
use
Symfony
\
Component
\
Console
\
Application
as
BaseApplication
;
final
class
Application
extends
BaseApplication
{
/**
* {@inheritdoc}
*/
public
function
getLongVersion
()
{
return
'
PHPCloc by <comment>Sohel Amin <https://github.com/sohelamin></comment>
'
;
}
}
$
application
=
new
Application
();
$
application
->
add
(
new
ClocCommand
());
$
application
->
add
(
new
DuplicateCommand
());
$
application
->
run
();
Back
|
FazBrowse Home
|
New Git URL