Skip to content

Commit 54307c9

Browse files
authored
chore: Remove php from .yml files and a few .md files which do not autogenerated ones (appium#15345)
* remove php stuff * remove php sample code * remove php stuff * remove php more
1 parent b8d7153 commit 54307c9

File tree

157 files changed

+13
-1365
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+13
-1365
lines changed

.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ old
4141
coverage
4242
docs/mkdocs.yml
4343
sample-code/javascript-wd/node_modules
44-
sample-code/php/vendor
45-
sample-code/php/composer.lock
4644
sample-code/java/out/
4745
sample-code/ruby/Gemfile.lock
4846
sample-code/python/test/results/

commands-yml/commands/context/get-context.yml

-5
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ example_usage:
3232
context = current_context
3333
ruby_core:
3434
context = @driver.current_context
35-
php:
36-
|
37-
$context = $driver->context();
3835
csharp:
3936
|
4037
string Context = driver.Context;
@@ -46,7 +43,6 @@ client_docs:
4643
javascript_wd: "https://github.com/admc/wd/blob/master/doc/api.md"
4744
ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#current_context-instance_method"
4845
ruby_core: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#current_context-instance_method"
49-
php: "https://github.com/appium/php-client/" # TODO PHP documentation link
5046
csharp: "https://github.com/appium/appium-dotnet-driver/" # TODO Dotnet documentation link
5147

5248
# Driver support by platform
@@ -66,7 +62,6 @@ client_support:
6662
java: true
6763
python: true
6864
ruby: true
69-
php: true
7065
csharp: true
7166
javascript_wd: true
7267
javascript_wdio: true

commands-yml/commands/context/get-contexts.yml

+4-9
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ description:
88
For information on the format of the context names, see the [get context
99
documentation](/docs/en/commands/context/get-context.md).
1010

11-
[mobile command](/docs/en/commands/mobile-command.md)
12-
`mobile: getContexts` is available on iOS (XCUITest) and Android
13-
(UIAutomator2 and Espresso) to get more detailed contexts.
14-
11+
[mobile command](/docs/en/commands/mobile-command.md)
12+
`mobile: getContexts` is available on iOS (XCUITest) and Android
13+
(UIAutomator2 and Espresso) to get more detailed contexts.
14+
1515
For information on contexts, see Appium's [hybrid automation docs](/docs/en/writing-running-appium/web/hybrid.md).
1616

1717
example_usage:
@@ -33,9 +33,6 @@ example_usage:
3333
ruby_core:
3434
|
3535
context = @driver.available_contexts
36-
php:
37-
|
38-
$contexts = $driver->contexts();
3936
csharp:
4037
|
4138
List<string> AllContexts = new List<string>();
@@ -51,7 +48,6 @@ client_docs:
5148
javascript_wd: "https://github.com/admc/wd/blob/master/doc/api.md"
5249
ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#available_contexts-instance_method"
5350
ruby_core: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#available_contexts-instance_method"
54-
php: "https://github.com/appium/php-client/" # TODO PHP documentation link
5551
csharp: "https://github.com/appium/appium-dotnet-driver/" # TODO Dotnet documentation link
5652

5753
# Driver support by platform
@@ -71,7 +67,6 @@ client_support:
7167
java: true
7268
python: true
7369
ruby: true
74-
php: true
7570
csharp: true
7671
javascript_wd: true
7772
javascript_wdio: true

commands-yml/commands/context/set-context.yml

-8
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,6 @@ example_usage:
5050
@driver.set_context(webview)
5151
# ...
5252
@driver.set_context('NATIVE_APP')
53-
php:
54-
|
55-
$contexts = $driver->contexts();
56-
$driver->context($contexts[1]);
57-
// ...
58-
$driver->context('NATIVE_APP');
5953
csharp:
6054
|
6155
// Switch to specific webview
@@ -75,7 +69,6 @@ client_docs:
7569
javascript_wd: "https://github.com/admc/wd/blob/master/doc/api.md"
7670
ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#set_context-instance_method"
7771
ruby_core: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#set_context-instance_method"
78-
php: "https://github.com/appium/php-client/" # TODO PHP documentation link
7972
csharp: "https://github.com/appium/appium-dotnet-driver/" # TODO Dotnet documentation link
8073

8174
# Driver support by platform
@@ -95,7 +88,6 @@ client_support:
9588
java: true
9689
python: true
9790
ruby: true
98-
php: true
9991
csharp: true
10092
javascript_wd: true
10193
javascript_wdio: true

commands-yml/commands/device/activity/current-activity.yml

-5
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ example_usage:
2121
ruby_core:
2222
|
2323
@driver.current_activity
24-
php:
25-
|
26-
$activity = $driver->currentActivity();
2724
csharp:
2825
|
2926
string activity = driver.CurrentActivity;
@@ -35,7 +32,6 @@ client_docs:
3532
javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L2519"
3633
ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#current_activity-instance_method"
3734
ruby_core: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#current_activity-instance_method"
38-
php: "https://github.com/appium/php-client/" # TODO PHP documentation link
3935
csharp: "https://github.com/appium/appium-dotnet-driver/blob/master/src/Appium.Net/Appium/Android/AndroidDriver.cs"
4036

4137
# Driver support by platform
@@ -55,7 +51,6 @@ client_support:
5551
java: true
5652
python: true
5753
ruby: true
58-
php: true
5954
csharp: true
6055
javascript_wd: true
6156
javascript_wdio: true

commands-yml/commands/device/activity/current-package.yml

-5
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ example_usage:
2121
ruby_core:
2222
|
2323
@driver.current_package
24-
php:
25-
|
26-
// TODO PHP sample
2724
csharp:
2825
|
2926
string package = driver.CurrentPackage;
@@ -35,7 +32,6 @@ client_docs:
3532
javascript_wdio: "https://webdriver.io/docs/api/appium.html#getcurrentpackage"
3633
ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#current_package-instance_method"
3734
ruby_core: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#current_package-instance_method"
38-
php: "https://github.com/appium/php-client/" # TODO PHP documentation link
3935
csharp: "https://github.com/appium/appium-dotnet-driver/blob/master/src/Appium.Net/Appium/Android/AndroidDriver.cs"
4036

4137
# Driver support by platform
@@ -55,7 +51,6 @@ client_support:
5551
java: true
5652
python: true
5753
ruby: true
58-
php: true
5954
csharp: true
6055
javascript_wd: true
6156
javascript_wdio: false

commands-yml/commands/device/activity/start-activity.yml

-6
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ example_usage:
2424
ruby_core:
2525
|
2626
@driver.start_activity app_package: "com.example", app_activity: "ActivityName"
27-
php:
28-
|
29-
$driver->startActivity(array('appPackage' => 'com.example',
30-
'appActivity' => 'ActivityName'));
3127
csharp:
3228
|
3329
driver.StartActivity("com.example", "ActivityName");
@@ -39,7 +35,6 @@ client_docs:
3935
javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L2948"
4036
ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Android/Device#start_activity-instance_method"
4137
ruby_core: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Android/Device#start_activity-instance_method"
42-
php: "https://github.com/appium/php-client/" # TODO PHP documentation link
4338
csharp: "https://github.com/appium/appium-dotnet-driver/blob/master/src/Appium.Net/Appium/Android/AndroidDriver.cs"
4439

4540
# Driver support by platform
@@ -59,7 +54,6 @@ client_support:
5954
java: true
6055
python: true
6156
ruby: true
62-
php: true
6357
csharp: true
6458
javascript_wd: true
6559
javascript_wdio: true

commands-yml/commands/device/app/activate-app.yml

-5
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ example_usage:
3030
|
3131
@driver.activate_app('com.apple.Preferences')
3232
@driver.activate_app('io.appium.android.apis')
33-
php:
34-
|
35-
// Supports only `mobile: queryAppState` for iOS, XCUITest
3633
csharp:
3734
|
3835
driver.activateApp('com.apple.Preferences');
@@ -45,7 +42,6 @@ client_docs:
4542
javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js" # TODO wd documentation link
4643
ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#activate_app-instance_method"
4744
ruby_core: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#activate_app-instance_method"
48-
php: "https://github.com/appium/php-client/" # TODO PHP documentation link
4945
csharp: "https://github.com/appium/appium-dotnet-driver/" # TODO Dotnet documentation link
5046

5147
# Driver support by platform
@@ -65,7 +61,6 @@ client_support:
6561
java: true
6662
python: true
6763
ruby: true
68-
php: true
6964
csharp: true
7065
javascript_wd: true
7166
javascript_wdio: true

commands-yml/commands/device/app/app-state.yml

-5
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ example_usage:
3030
|
3131
@driver.app_state('com.apple.Preferences')
3232
@driver.query_app_state('io.appium.android.apis') # `query_` prefix is also available
33-
php:
34-
|
35-
// Supports only `mobile: queryAppState` for iOS, XCUITest
3633
csharp:
3734
|
3835
// Supports only `mobile: queryAppState` for iOS, XCUITest
@@ -44,7 +41,6 @@ client_docs:
4441
javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js" # TODO wd documentation link
4542
ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Base/Driver#app_state-instance_method"
4643
ruby_core: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Base/Driver#app_state-instance_method"
47-
php: "https://github.com/appium/php-client/" # TODO PHP documentation link
4844
csharp: "https://github.com/appium/appium-dotnet-driver/" # TODO Dotnet documentation link
4945

5046
# Driver support by platform
@@ -64,7 +60,6 @@ client_support:
6460
java: true
6561
python: true
6662
ruby: true
67-
php: true
6863
csharp: true
6964
javascript_wd: true
7065
javascript_wdio: true

commands-yml/commands/device/app/background-app.yml

-5
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ example_usage:
4242
ruby_core:
4343
|
4444
@driver.background_app(10)
45-
php:
46-
|
47-
$driver->backgroundApp(10);
4845
csharp:
4946
|
5047
driver.BackgroundApp(10)
@@ -56,7 +53,6 @@ client_docs:
5653
javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L2841"
5754
ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#background_app-instance_method"
5855
ruby_core: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#background_app-instance_method"
59-
php: "https://github.com/appium/php-client/" # TODO PHP documentation link
6056
csharp: "https://github.com/appium/appium-dotnet-driver/" # TODO Dotnet documentation link
6157

6258
# Driver support by platform
@@ -76,7 +72,6 @@ client_support:
7672
java: true
7773
python: true
7874
ruby: true
79-
php: true
8075
csharp: true
8176
javascript_wd: true
8277
javascript_wdio: true

commands-yml/commands/device/app/close-app.yml

-5
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ example_usage:
2020
ruby_core:
2121
|
2222
@driver.close_app
23-
php:
24-
|
25-
$driver->closeApp();
2623
csharp:
2724
|
2825
driver.CloseApp();
@@ -34,7 +31,6 @@ client_docs:
3431
javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L2798"
3532
ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#close_app-instance_method"
3633
ruby_core: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#close_app-instance_method"
37-
php: "https://github.com/appium/php-client/" # TODO PHP documentation link
3834
csharp: "https://github.com/appium/appium-dotnet-driver/blob/master/src/Appium.Net/Appium/AppiumDriver.cs"
3935

4036
# Driver support by platform
@@ -54,7 +50,6 @@ client_support:
5450
java: true
5551
python: true
5652
ruby: true
57-
php: true
5853
csharp: true
5954
javascript_wd: true
6055
javascript_wdio: true

commands-yml/commands/device/app/end-test-coverage.yml

-5
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ example_usage:
2020
ruby_core:
2121
|
2222
@driver.end_coverage("Intent", "/path")
23-
php:
24-
|
25-
$driver->endTestCoverage('Intent', '/path');
2623
csharp:
2724
|
2825
driver.EndTestCoverage("Intent", "/path");
@@ -34,7 +31,6 @@ client_docs:
3431
javascript_wdio: "https://webdriver.io/docs/api/appium.html#endcoverage"
3532
ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Android/Device#end_coverage-instance_method"
3633
ruby_core: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Android/Device#end_coverage-instance_method"
37-
php: "https://github.com/appium/php-client/" # TODO PHP documentation link
3834
csharp: "https://github.com/appium/appium-dotnet-driver/blob/master/src/Appium.Net/Appium/Android/AndroidDriver.cs"
3935

4036
# Driver support by platform
@@ -54,7 +50,6 @@ client_support:
5450
java: true
5551
python: true
5652
ruby: false
57-
php: true
5853
csharp: true
5954
javascript_wd: true
6055
javascript_wdio: true

commands-yml/commands/device/app/get-app-strings.yml

-5
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ example_usage:
2020
ruby_core:
2121
|
2222
@driver.app_strings("en")
23-
php:
24-
|
25-
$strings = $driver->appStrings();
2623
csharp:
2724
|
2825
Dictionary<string, object> appStrings = driver.GetAppStringDictionary("end", "/path/to/file");
@@ -34,7 +31,6 @@ client_docs:
3431
javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L2916"
3532
ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#app_strings-instance_method"
3633
ruby_core: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#app_strings-instance_method"
37-
php: "https://github.com/appium/php-client/" # TODO PHP documentation link
3834
csharp: "https://github.com/appium/appium-dotnet-driver/blob/master/src/Appium.Net/Appium/AppiumDriver.cs"
3935

4036
# Driver support by platform
@@ -54,7 +50,6 @@ client_support:
5450
java: true
5551
python: true
5652
ruby: true
57-
php: true
5853
csharp: true
5954
javascript_wd: true
6055
javascript_wdio: true

commands-yml/commands/device/app/install-app.yml

-5
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ example_usage:
2525
ruby_core:
2626
|
2727
@driver.install_app('/Users/johndoe/path/to/app.apk')
28-
php:
29-
|
30-
$driver->installApp('/Users/johndoe/path/to/app.apk');
3128
csharp:
3229
|
3330
driver.InstallApp("/Users/johndoe/path/to/app.apk")
@@ -39,7 +36,6 @@ client_docs:
3936
javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L2540"
4037
ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#install_app-instance_method"
4138
ruby_core: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#install_app-instance_method"
42-
php: "https://github.com/appium/php-client/" # TODO PHP documentation link
4339
csharp: "https://github.com/appium/appium-dotnet-driver/blob/master/src/Appium.Net/Appium/AppiumDriver.cs"
4440

4541
# Driver support by platform
@@ -59,7 +55,6 @@ client_support:
5955
java: true
6056
python: true
6157
ruby: true
62-
php: true
6358
csharp: true
6459
javascript_wd: true
6560
javascript_wdio: true

commands-yml/commands/device/app/is-app-installed.yml

-5
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ example_usage:
2525
ruby_core:
2626
|
2727
@driver.app_installed?('com.example.AppName')
28-
php:
29-
|
30-
$driver->isAppInstalled('com.example.AppName')
3128
csharp:
3229
|
3330
driver.IsAppInstalled("com.example.AppName");
@@ -39,7 +36,6 @@ client_docs:
3936
javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L2586"
4037
ruby: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#app_installed%3F-instance_method"
4138
ruby_core: "https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#app_installed%3F-instance_method"
42-
php: "https://github.com/appium/php-client/" # TODO PHP documentation link
4339
csharp: "https://github.com/appium/appium-dotnet-driver/blob/master/src/Appium.Net/Appium/AppiumDriver.cs"
4440

4541
# Driver support by platform
@@ -59,7 +55,6 @@ client_support:
5955
java: true
6056
python: true
6157
ruby: true
62-
php: true
6358
csharp: true
6459
javascript_wd: true
6560
javascript_wdio: true

0 commit comments

Comments
 (0)