forked from llaville/php-reflect
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.xml
710 lines (680 loc) · 19.2 KB
/
package.xml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.4" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
<name>PHP_Reflect</name>
<channel>bartlett.laurent-laville.org</channel>
<summary>Adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces, traits and more.</summary>
<description>PHP_Reflect adds the ability to reverse-engineer classes, interfaces, functions,
constants, namespaces, traits and more, by connecting php callbacks to tokens.
</description>
<lead>
<name>Laurent Laville</name>
<user>farell</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2013-10-12</date>
<time>14:04:23</time>
<version>
<release>1.9.0</release>
<api>1.9.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- drop support of PHP 5.2
- add Composer support
Bug fixes:
- avoid wrong trait detection if source code used a class property named trait: $this->trait
</notes>
<contents>
<dir baseinstalldir="Bartlett" name="/">
<dir name="examples">
<file name="scanFile.php" role="doc" />
<file name="scanFileWithOptions.php" role="doc" />
<file name="scanFileWithOtherTokenConnect.php" role="doc" />
<file name="scanFunctionArguments.php" role="doc" />
</dir> <!-- /examples -->
<dir name="html">
<dir name="images">
<dir name="icons">
<file name="caution.png" role="doc" />
<file name="example.png" role="doc" />
<file name="favicon.ico" role="doc" />
<file name="home.png" role="doc" />
<file name="important.png" role="doc" />
<file name="next.png" role="doc" />
<file name="note.png" role="doc" />
<file name="prev.png" role="doc" />
<file name="README" role="doc" />
<file name="tip.png" role="doc" />
<file name="up.png" role="doc" />
<file name="warning.png" role="doc" />
</dir> <!-- /html/images/icons -->
<file name="logo.png" role="doc" />
</dir> <!-- /html/images -->
<dir name="js">
<file name="asciidoc.js" role="doc" />
</dir> <!-- /html/js -->
<dir name="styles">
<file name="flask.css" role="doc" />
<file name="pygments.css" role="doc" />
<file name="toc2.css" role="doc" />
</dir> <!-- /html/styles -->
<file name="CHANGELOG.html" role="doc" />
<file name="configure.html" role="doc" />
<file name="connect-tokens.html" role="doc" />
<file name="getting-started.html" role="doc" />
<file name="index.html" role="doc" />
<file name="INSTALL.html" role="doc" />
<file name="LICENSE.html" role="doc" />
<file name="phpreflect-book.html" role="doc" />
</dir> <!-- /html -->
<dir name="PHP">
<dir name="Reflect">
<file name="Autoload.php" role="php" />
<file name="Token.php" role="php" />
</dir> <!-- /PHP/Reflect -->
<file name="Reflect.php" role="php" />
</dir> <!-- /PHP -->
<dir name="tests">
<dir name="Token">
<file name="ClassTest.php" role="test" />
<file name="ClosureTest.php" role="test" />
<file name="ConstantTest.php" role="test" />
<file name="ExceptionTest.php" role="test" />
<file name="FunctionTest.php" role="test" />
<file name="GeneratorTest.php" role="test" />
<file name="GlobalTest.php" role="test" />
<file name="IncludeTest.php" role="test" />
<file name="InterfaceTest.php" role="test" />
<file name="IssueTest.php" role="test" />
<file name="NamespaceTest.php" role="test" />
<file name="StringTest.php" role="test" />
<file name="TraitTest.php" role="test" />
</dir> <!-- /tests/Token -->
<dir name="_files">
<file name="closure.php" role="test" />
<file name="exception.php" role="test" />
<file name="generator.php" role="test" />
<file name="issue1.php" role="test" />
<file name="magic_constant.php" role="test" />
<file name="source.php" role="test" />
<file name="source2.php" role="test" />
<file name="source3.php" role="test" />
<file name="source4.php" role="test" />
<file name="source5.php" role="test" />
<file name="source6.php" role="test" />
<file name="source7.php" role="test" />
<file name="source8-01.php" role="test" />
<file name="source8-02.php" role="test" />
<file name="source8-03.php" role="test" />
<file name="source8-04.php" role="test" />
<file name="source9.php" role="test" />
<file name="source10.php" role="test" />
<file name="source11.php" role="test" />
</dir> <!-- /tests/_files -->
<file name="phpunit.xml" role="test" />
</dir> <!-- /tests -->
<file name="LICENSE" role="doc" />
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
<min>5.3.0</min>
</php>
<pearinstaller>
<min>1.9.0</min>
</pearinstaller>
<extension>
<name>tokenizer</name>
</extension>
<extension>
<name>pcre</name>
</extension>
<extension>
<name>SPL</name>
</extension>
</required>
<optional>
<package>
<name>PHPUnit</name>
<channel>pear.phpunit.de</channel>
<min>3.6.0</min>
</package>
</optional>
</dependencies>
<phprelease />
<changelog>
<release>
<version>
<release>1.9.0</release>
<api>1.9.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2013-10-12</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- drop support of PHP 5.2
- add Composer support
Bug fixes:
- avoid wrong trait detection if source code used a class property named trait: $this->trait
</notes>
</release>
<release>
<version>
<release>1.8.1</release>
<api>1.8.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2013-09-23</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- none
CAUTION: this version is the last to support PHP 5.2. Next API 2.0 will drop this support
Bug fixes:
- avoid wrong namespace detection if source code used a class property named namespace: $this->namespace
(Thanks to Remi Collet to notice me a strong behavior in class report)
</notes>
</release>
<release>
<version>
<release>1.8.0</release>
<api>1.8.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2013-09-19</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- Latest version of branch 1.x
- Little memory usage optimisation : tokens list are not kept after source parsing.
- visibility property for class method parsing was added by default.
Bug fixes:
- none
</notes>
</release>
<release>
<version>
<release>1.7.0</release>
<api>1.7.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2013-06-24</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- add T_FINALLY and T_YIELD tokens support for PHP 5.5
Bug fixes:
- none
</notes>
</release>
<release>
<version>
<release>1.6.2</release>
<api>1.6.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2013-04-06</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- support for token T_CALLABLE on PHP lower than 5.4
Bug fixes:
- PHP_CompatInfo GH-83: Freeze while scanning a big project (Thanks to Igor Klipach)
</notes>
</release>
<release>
<version>
<release>1.6.1</release>
<api>1.6.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2013-02-25</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- none
Bug fixes:
- constants of extensions are no more considered as user constant
</notes>
</release>
<release>
<version>
<release>1.6.0</release>
<api>1.6.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2013-02-22</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- add user, class and magic constants detection
- declares methods getNamespaces(), getTraits(), getInterfaces(), getClasses(),
getFunctions() and getConstants().
Bug fixes:
- Wrong detection of function name when a closure uses a typehint for the first argument
</notes>
</release>
<release>
<version>
<release>1.5.0</release>
<api>1.5.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-11-26</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- add new method isNamespaceWarning() that allow to know if PHP platform is PHP 5.2
and source code scanned included namespace syntax
- refactoring the documentation build phing script (split generic and specific code)
Bug fixes:
- none
</notes>
</release>
<release>
<version>
<release>1.4.3</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-10-29</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- throws a runtime exception when data source filename does not exists
Bug fixes:
- detect function with ampersand in front of their name (thanks to Stefan Neufeind)
- detect function signature with array as type-hint in parameters list (thanks to Stefan Neufeind)
</notes>
</release>
<release>
<version>
<release>1.4.2</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-07-24</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- none
Bug fixes:
- wrong namespace used for class when importing other namespaces
</notes>
</release>
<release>
<version>
<release>1.4.1</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-07-23</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- none
Bug fixes:
- avoid conflict between 'use' when importing namespace and solve conflicts in trait class usage
</notes>
</release>
<release>
<version>
<release>1.4.0</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-07-21</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- improved namespaces support with imports (Aliasing/Importing)
See new example 3 in Configure Properties section of the User Guide.
- both PDF A4 and US doc format are now available to download
Bug fixes:
- none
</notes>
</release>
<release>
<version>
<release>1.3.0</release>
<api>1.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-02-24</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- additionnal TRAIT support (PHP 5.4.0 feature) with magic constant __TRAIT__
- EPUB doc format is now available to download
Bug fixes:
- none
</notes>
</release>
<release>
<version>
<release>1.2.0</release>
<api>1.2.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2012-02-01</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- add TRAIT support (PHP 5.4.0 feature)
- refactoring of getArguments() method introduced in previous version 1.1.0
Bug fixes:
- none
</notes>
</release>
<release>
<version>
<release>1.1.0</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2011-11-11</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- PHP_Reflect_Token_FUNCTION::getArguments() return values changed :
see examples/scanFunctionArguments.php and User Guide Configure/Properties section (example 2).
Thanks to Stefan Neufeind for its patch/proposal.
- add test suite for issues reported
- upgrades build phing xml file : use latest asciidoc version (8.6.6)
Bug fixes:
- none
</notes>
</release>
<release>
<version>
<release>1.0.2</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2011-07-18</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- none
Bug fixes:
- trimmed whitespace on PHP_Reflect_Token_FUNCTION::getSignature() method
</notes>
</release>
<release>
<version>
<release>1.0.1</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2011-07-16</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
First stable version
Additions and changes:
- replace missing AllTests.php script to launch all tests at once by configuration file phpunit.xml
Bug fixes:
- Signature truncated on methods with array as defaultvalue (issue #1)
</notes>
</release>
<release>
<version>
<release>1.0.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2011-07-01</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
First stable version
Additions and changes:
- WARNING: Autoloader is no more loaded by default.
- add AllTests.php script to launch all tests at once.
- add source documentation that can be build with AsciiDoc (see docs/README.txt)
Bug fixes:
- none
</notes>
</release>
<release>
<version>
<release>1.0.0RC1</release>
<api>1.0.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2011-04-24</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
First release candidate; on way to stable version
Additions and changes:
- no changes since version 0.7.0
Bug fixes:
- none
</notes>
</release>
<release>
<version>
<release>0.7.0</release>
<api>0.7.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2011-04-16</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- adds globals variable support
Bug fixes:
- typo errors on IncludeTest.php file about method covers; allow to use --coverage phpunit feature
</notes>
</release>
<release>
<version>
<release>0.6.0</release>
<api>0.6.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2011-04-10</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- enhance namespaces support
Bug fixes:
- two tests condition in abstract class PHP_Reflect_TokenWithScope, getEndTokenId() method
</notes>
</release>
<release>
<version>
<release>0.5.1</release>
<api>0.5.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2011-04-04</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- PEAR dependency decreased from 1.9.2 to 1.9.0 to allow EPEL repository packaging
Bug fixes:
- when a namespace is active, keep it as current context
</notes>
</release>
<release>
<version>
<release>0.5.0</release>
<api>0.5.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2011-03-25</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- adds full support for Namespace with PHP 5.3.0 or greater
- adds total of lines, code lines and no code lines
Bug fixes:
- none
</notes>
</release>
<release>
<version>
<release>0.4.0</release>
<api>0.4.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2011-03-19</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- adds an independant autoloader function
Bug fixes:
- none
</notes>
</release>
<release>
<version>
<release>0.3.1</release>
<api>0.3.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2011-03-13</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- none
Bug fixes:
- getIncludes method introduced dupplicated values with PHP_CompatInfo 2
</notes>
</release>
<release>
<version>
<release>0.3.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2011-03-13</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- improved options handler
- getDocblock method accept more than just phpdoc comment style
- add docblock in each test units
</notes>
</release>
<release>
<version>
<release>0.2.0</release>
<api>0.2.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2011-03-12</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
Additions and changes:
- change base install directory
</notes>
</release>
<release>
<version>
<release>0.1.0</release>
<api>0.1.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2011-03-10</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License</license>
<notes>
First public release
</notes>
</release>
</changelog>
</package>