Commit bbd3a9c
authored
feat: Add CakePHP 3+ Support (#2618)
* feat: Add CakePHP 3 Support
* tests: Test for 7.1+ (requires intl) + typo
* feat: Retrieve extension, plugin, and theme information
* tests: Add CakePHP v4.5 tests
* tests: Add CakePHP v5.0 tests
* style: Use `hook_method`
* fix: Fetch root span from `\DDTrace\root_span()`
* style: refactor common logic1 parent e721e34 commit bbd3a9c
File tree
285 files changed
+12634
-103
lines changed- ext/integrations
- src/DDTrace/Integrations/CakePHP
- V2
- V3
- tests
- Frameworks/CakePHP
- Version_3_10
- bin
- config
- schema
- plugins
- src
- Console
- Controller
- Component
- Model
- Behavior
- Entity
- Table
- Shell
- Template
- Cell
- Element/Flash
- Email
- html
- text
- Error
- Layout
- Email
- html
- text
- rss
- Pages
- Simple_view
- View
- Cell
- Helper
- tests
- Fixture
- TestCase
- Controller
- Component
- Model/Behavior
- View/Helper
- webroot
- css
- font
- img
- js
- Version_4_5
- bin
- config
- schema
- plugins
- resources
- src
- Console
- Controller
- Component
- Model
- Behavior
- Entity
- Table
- View
- Cell
- Helper
- templates
- Error
- Pages
- Simple_view
- cell
- element/flash
- email
- html
- text
- layout
- email
- html
- text
- tests
- Fixture
- TestCase
- Controller
- Component
- Model/Behavior
- View/Helper
- webroot
- css
- font
- img
- js
- Version_5_0
- bin
- config
- schema
- plugins
- resources
- src
- Console
- Controller
- Component
- Model
- Behavior
- Entity
- Table
- View
- Cell
- Helper
- templates
- Error
- Pages
- Simple_view
- cell
- element/flash
- email
- html
- text
- layout
- email
- html
- text
- tests
- Fixture
- TestCase
- Controller
- Component
- Model/Behavior
- View/Helper
- webroot
- css
- font
- img
- js
- Integrations
- CLI/CakePHP
- V3_10
- V4_5
- V5_0
- CakePHP
- V3_10
- V4_5
- V5_0
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
285 files changed
+12634
-103
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
| 560 | + | |
560 | 561 | | |
561 | 562 | | |
562 | 563 | | |
| |||
610 | 611 | | |
611 | 612 | | |
612 | 613 | | |
| 614 | + | |
613 | 615 | | |
614 | 616 | | |
615 | 617 | | |
| |||
669 | 671 | | |
670 | 672 | | |
671 | 673 | | |
| 674 | + | |
672 | 675 | | |
673 | 676 | | |
674 | 677 | | |
| |||
730 | 733 | | |
731 | 734 | | |
732 | 735 | | |
| 736 | + | |
| 737 | + | |
733 | 738 | | |
734 | 739 | | |
735 | 740 | | |
| |||
792 | 797 | | |
793 | 798 | | |
794 | 799 | | |
| 800 | + | |
795 | 801 | | |
796 | 802 | | |
797 | 803 | | |
| |||
840 | 846 | | |
841 | 847 | | |
842 | 848 | | |
| 849 | + | |
| 850 | + | |
843 | 851 | | |
844 | 852 | | |
845 | 853 | | |
| |||
891 | 899 | | |
892 | 900 | | |
893 | 901 | | |
| 902 | + | |
| 903 | + | |
894 | 904 | | |
895 | 905 | | |
896 | 906 | | |
| |||
946 | 956 | | |
947 | 957 | | |
948 | 958 | | |
| 959 | + | |
| 960 | + | |
949 | 961 | | |
950 | 962 | | |
951 | 963 | | |
| |||
1230 | 1242 | | |
1231 | 1243 | | |
1232 | 1244 | | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
1233 | 1254 | | |
1234 | 1255 | | |
1235 | 1256 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
230 | 234 | | |
231 | 235 | | |
232 | 236 | | |
| |||
Lines changed: 39 additions & 101 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | | - | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 33 | + | |
41 | 34 | | |
42 | 35 | | |
43 | 36 | | |
44 | 37 | | |
45 | 38 | | |
46 | 39 | | |
47 | | - | |
48 | | - | |
49 | | - | |
| 40 | + | |
| 41 | + | |
50 | 42 | | |
51 | | - | |
52 | | - | |
53 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
54 | 47 | | |
55 | | - | |
56 | | - | |
| 48 | + | |
| 49 | + | |
57 | 50 | | |
58 | | - | |
| 51 | + | |
59 | 52 | | |
60 | 53 | | |
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 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
92 | 58 | | |
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 | | - | |
| 59 | + | |
119 | 60 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
130 | 67 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
139 | 72 | | |
140 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
141 | 76 | | |
142 | | - | |
| 77 | + | |
143 | 78 | | |
144 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
145 | 83 | | |
146 | 84 | | |
Lines changed: 99 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
0 commit comments